Skip to content

Commit

Permalink
Cleanup unnecessary language flag (scala#19865)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nicolasstucki committed Mar 6, 2024
2 parents 69c18f5 + a543e8f commit 736ea2a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/test/dotty/tools/dotc/TastyBootstrapTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class TastyBootstrapTests {
val lib =
compileList("lib", librarySources,
defaultOptions.and("-Ycheck-reentrant",
"-language:experimental.erasedDefinitions", // support declaration of scala.compiletime.erasedValue
// "-source", "future", // TODO: re-enable once library uses updated syntax for vararg splices, wildcard imports, and import renaming
))(libGroup)

Expand Down

0 comments on commit 736ea2a

Please sign in to comment.