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
Scala 3.4.0 treats A ?->{cap} B as if it were a regular function rather than a context function, including downstream when you use it. using parameters are not picked up (like in the above example), and context is missing without a pattern bound context like so:
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
3.4.0
Minimized code
Output
Scala 3.4.0 treats
A ?->{cap} B
as if it were a regular function rather than a context function, including downstream when you use it.using
parameters are not picked up (like in the above example), and context is missing without a pattern bound context like so:Expectation
I expected the pure version of a context function with specificied captures to work like the impure version A ?=> B.
The text was updated successfully, but these errors were encountered: