Skip to content

Commit 0caf45e

Browse files
Merge pull request #5614 from dotty-staging/add-missing-flag
Add missing -Yretain-trees in ConsumeTasty
2 parents dab02ed + a0fa88c commit 0caf45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/consumetasty/ConsumeTasty.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ object ConsumeTasty {
1818

1919
val currentClasspath = QuoteDriver.currentClasspath
2020
import java.io.File.{ pathSeparator => sep }
21-
val args = "-from-tasty" +: "-classpath" +: s"$classpath$sep$currentClasspath" +: classes
21+
val args = "-from-tasty" :: "-Yretain-trees" :: "-classpath" :: s"$classpath$sep$currentClasspath" :: classes
2222
(new Consume).process(args.toArray)
2323
}
2424
}

0 commit comments

Comments
 (0)