in
doesn't work inside of case
or |
guards of implicit for..in
loops
#1039
Labels
in
doesn't work inside of case
or |
guards of implicit for..in
loops
#1039
Examples causing a compilation error:
Working examples:
It seems that affected are only implicit
for..in
loops (for array
) with guards with thein
keyword inside and only when usingcase
or|
as a guard keyword, notwhen
. Wrapping the guard's condition with parentheses also mitigates the issue.Possibly related to #923 (#925).
The text was updated successfully, but these errors were encountered: