bblfsh / libuast

Apache License 2.0
20 stars 15 forks source link

Return an empty list instead of an error when a property is not matched #85

Closed juanjux closed 6 years ago

juanjux commented 6 years ago

Emergency fix for @eiso's demos.

Currently, trying to match a missing property from an existing node returns an error. This would make it return an empty result list instead.

Note that this is based on v1.9.4 because v2.0.0 would require updating the client-python which is not worth since libuast will be replaced now. So this version would become v1.9.5 and the python and go clients would link to it on new PRs until we've a new libuast-go and all the clients are updated.

Signed-off-by: Juanjo Alvarez juanjo@sourced.tech

juanjux commented 6 years ago

Closing, I was pointing to ~master instead of a new branch, will reopen again.