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.
2 parents f92d6f1 + ff46104 commit aa079a5Copy full SHA for aa079a5
tests/run/i16943.scala
@@ -0,0 +1,6 @@
1
+@main
2
+@annotation.experimental
3
+def Test(): Unit = fail(compiletime.erasedValue, 1)
4
+
5
6
+def fail(dumb: CanThrow[Exception], x: Int) = println(x)
0 commit comments