Context bound behaves differently from a using-clause #20070
Labels
area:implicits
related to implicits
area:reporting
Error reporting including formatting, implicit suggestions, etc
itype:bug
Compiler version
3.3.1, 3.4.1
Minimized code
Output
Expectation
Scala 3 Book suggests that context bound de-sugaring mirrors the following code:
Yet, the latter doesn't lead to a compile error in
f[Int](1)
.The text was updated successfully, but these errors were encountered: