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 ce65296 commit ff46104Copy full SHA for ff46104
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