Skip to content

Commit 736ea2a

Browse files
Cleanup unnecessary language flag (#19865)
At some point `scala.compiletime.erasedValue` was defined as erased and therefore we needed this flag. Now we special case `erasedValue` in the compiler to give it erased semantics without defining it as such.
2 parents 69c18f5 + a543e8f commit 736ea2a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class TastyBootstrapTests {
6060
val lib =
6161
compileList("lib", librarySources,
6262
defaultOptions.and("-Ycheck-reentrant",
63-
"-language:experimental.erasedDefinitions", // support declaration of scala.compiletime.erasedValue
6463
// "-source", "future", // TODO: re-enable once library uses updated syntax for vararg splices, wildcard imports, and import renaming
6564
))(libGroup)
6665

0 commit comments

Comments
 (0)