The attached patch prevents a seg-fault by allowing the symbol_search function to gracefully handle empty paths.
This patch does fix the segmentation fault, but this should be handled at a higher level. The elaborate_method_() routine should check for an empty path before calling symbol_search() and should know that an empty path (no object) cannot be a method call. I have a patch that implements this and also has a place holder for handling the function call correctly. I will push what I have shortly and will work on the rest of it when I have time. You need to revert the patch you submitted in your archive or delete the repository and get it again.
Log in to post a comment.