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
Fails to compile breaks with Unexpected withFilter call
Expectation
Compiles and prints:
42
42
The pattern x: Int is considered exhaustive, causing withFilter to not be emitted in works, while the pattern given Int isn't, so withFilter is emitted and breaks breaks.
The text was updated successfully, but these errors were encountered:
Compiler version
3.0.0-RC2
Minimized code
Output
Fails to compile
breaks
withUnexpected withFilter call
Expectation
Compiles and prints:
The pattern
x: Int
is considered exhaustive, causingwithFilter
to not be emitted inworks
, while the patterngiven Int
isn't, sowithFilter
is emitted andbreaks
breaks.The text was updated successfully, but these errors were encountered: