From a543e8f97ce647ac1705a0b0199adfe4f32df724 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Mon, 4 Mar 2024 11:04:12 +0100 Subject: [PATCH] Cleanup unnecessary language flag 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. --- compiler/test/dotty/tools/dotc/TastyBootstrapTests.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/test/dotty/tools/dotc/TastyBootstrapTests.scala b/compiler/test/dotty/tools/dotc/TastyBootstrapTests.scala index 50e07f388dc4..27311497de9c 100644 --- a/compiler/test/dotty/tools/dotc/TastyBootstrapTests.scala +++ b/compiler/test/dotty/tools/dotc/TastyBootstrapTests.scala @@ -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)