Closed joyceerhl closed 5 years ago
Hey @joyceerhl! Thanks for pointing this out and the wonderful repro info. I found a small parsing inconsistency in the rules for parsing lambdas, which should be fixed in https://github.com/microsoft/gather/commit/60e050af4b3ccb403e68ebac3488eb8bf8f5564f
Want to try it out and see if works? Will require a jlpm run build:parser
command to rebuild the parser. Here's what the fixed notebook looks like for me:
Works great! Thanks @andrewhead :-)
Describe the bug UPDATE: After experimenting further it seems that program slicing fails specifically on a lambda function which accepts at least 1 argument.
To Reproduce Steps to reproduce the behavior:
Expected Behavior Dependencies of lambda functions should be gathered.
Screenshots