We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1d8aa commit 2c582c3Copy full SHA for 2c582c3
tests/init-global/neg/i18628.scala
@@ -2,6 +2,6 @@ object Test:
2
class Box(val x: Int)
3
4
def recur(a: => Box, b: => Box): Int =
5
- a.x + recur(a, b) + b.x // error
+ a.x + recur(a, b) + b.x // error // error
6
7
recur(Box(1), Box(2))
tests/init-global/neg/i18628_3.scala
@@ -4,6 +4,6 @@ object Test:
- a.x + recur(a: @widen(5), b: @widen(5)) + b.x // error
+ a.x + recur(a: @widen(5), b: @widen(5)) + b.x // error // error
8
9
0 commit comments