You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous extractor for closures matches also arbitrary blocks that
ended in a (possible deeply nested) closure. This caused wrong use sets
in #21620. The new definition is stricter. There is also a new
blockEndingInclosure extractor that keeps the old behavior.
Fixes#21620
Compiler version
3.6.0
Minimized example
Output
compiles
Expectation
An error, since the outer lambda also captures
x
in its println statement.The text was updated successfully, but these errors were encountered: