We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e64a5a5 commit a8277a7Copy full SHA for a8277a7
tests/run-staging/i19170b.scala
@@ -8,7 +8,8 @@ class A(i: Int)
8
def f(i: Expr[Int])(using Quotes): Expr[A] = { '{ new A($i) } }
9
10
@main def Test = {
11
- if !System.getProperty("os.name").contains("Windows") then
+ // The heuristic to give the extra information does not work on JDK 8
12
+ if System.getProperty("java.specification.version") != "1.8" then
13
try
14
val g: Int => A = staging.run { '{ (i: Int) => ${ f('{i}) } } }
15
println(g(3))
0 commit comments