Context function is eagerly applied inside a capture set #16944
Labels
area:experimental:cc
Capture checking related
cc-experiment
Intended to be merged with cc-experiment branch on origin
itype:bug
Compiler version
Scala 3.2.2 and latest snapshot (
250757732398b92cb6fc8f02e50526573f1ba2b9
).Minimized code
Output
Compile error:
It compiles as expected if
ap
is a normal (non-context) function.Expectation
Successful compilation, like with a normal function.
The text was updated successfully, but these errors were encountered: