Skip to content

Commit 0081a4d

Browse files
committed
Use Expr.unitExpr
1 parent 195597e commit 0081a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src-bootstrapped/scala/quoted/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ package object quoted {
3838
var result: T = NoResult.asInstanceOf[T]
3939
def dummyRun given QuoteContext: Expr[Unit] = {
4040
result = thunk
41-
'{}
41+
Expr.unitExpr
4242
}
4343
toolbox.run(dummyRun given _)
4444
assert(result != NoResult) // toolbox.run should have thrown an exception

0 commit comments

Comments
 (0)