Skip to content

Commit 484193f

Browse files
committed
Add -Yerased-terms for CompilationTests.tastyBootstrap
1 parent 7aeb0fd commit 484193f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ class CompilationTests extends ParallelTesting {
224224
val lib =
225225
compileList("src", librarySources,
226226
defaultOptions.and("-Ycheck-reentrant",
227+
"-Yerased-terms", // support declaration of scala.compiletime.erasedValue
227228
// "-strict", // TODO: re-enable once we allow : @unchecked in pattern definitions. Right now, lots of narrowing pattern definitions fail.
228229
"-priorityclasspath", defaultOutputDir))(libGroup)
229230

0 commit comments

Comments
 (0)