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 195597e commit 0081a4dCopy full SHA for 0081a4d
library/src-bootstrapped/scala/quoted/package.scala
@@ -38,7 +38,7 @@ package object quoted {
38
var result: T = NoResult.asInstanceOf[T]
39
def dummyRun given QuoteContext: Expr[Unit] = {
40
result = thunk
41
- '{}
+ Expr.unitExpr
42
}
43
toolbox.run(dummyRun given _)
44
assert(result != NoResult) // toolbox.run should have thrown an exception
0 commit comments