Skip to content

Lambda Parsing Upgrade

Choose a tag to compare

@gordonwatts gordonwatts released this 30 Oct 00:10
· 138 commits to master since this release
30a7601

This point release is focused on correctly parsing lambda's - increasing the range of styles of code we can correctly detect inside a Select, SelectMany and Where statement.

For example, the following two statements now work (and didn't properly work before):

    my_obj().Select(lambda x: x
                   + 1
                   + 2
                   + 20
                   )

and

    my_obj().do_it(lambda event: event + 1
                   ).do_it(lambda event: event)

Since this is using heuristics, likely there are cases we've missed. Please do not hesitate to submit a bug report (or PR).

What's Changed

Full Changelog: 3.0...3.1