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 2711b4c commit a0a45b6Copy full SHA for a0a45b6
tests/neg/i3901.scala
@@ -1,4 +1,4 @@
1
object Crash {
2
- def f(cond: => Boolean): cond.type = ???
+ def f(cond: => Boolean): cond.type = ??? // error: cond is not stable
3
f(true)
4
}
0 commit comments