Skip to content

Commit c9a159c

Browse files
committed
Enable optimisations in Expr.run
1 parent fc71ee6 commit c9a159c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/src/dotty/tools/dotc/quoted/QuoteDriver.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ class QuoteDriver extends Driver {
1515

1616
def run[T](expr: Expr[T]): T = {
1717
val ctx: Context = initCtx.fresh
18-
// TODO enable optimisation?
19-
// ctx.settings.optimise.update(true)(ctx)
18+
ctx.settings.optimise.update(true)(ctx)
2019

2120
val outDir = new VirtualDirectory("(memory)", None)
2221

0 commit comments

Comments
 (0)