Scope of pattern variables in join clause #9210
Labels
0 - Backlog
Area-Compilers
Feature - Pattern Matching
Pattern Matching
Resolution-Fixed
The bug has been fixed and/or the requested behavior has been implemented
Milestone
The expression in a
join
clause, i.e. e in... join x in e ...
, does not turn into a lambda body. This expression needs to define a scope for any pattern variables that are declared in that expression. The scope of those pattern variables does not extend outside that expression.The text was updated successfully, but these errors were encountered: