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 a5b4af1 commit 263c815Copy full SHA for 263c815
tests/run-macros/i11630.scala renamed to tests/run/i11630.scala
@@ -1,9 +1,9 @@
1
inline def failme1() = compiletime.error("fail")
2
transparent inline def failme2() = compiletime.error("fail")
3
4
-@main def Test =
+@main def Test: Unit = {
5
assert(!compiletime.testing.typeChecks("failme1()"))
6
assert(!compiletime.testing.typeChecks("failme2()"))
7
assert(!compiletime.testing.typeChecks("a b c"))
8
assert(!compiletime.testing.typeChecks("true: Int"))
9
-
+}
0 commit comments