Skip to content

Commit 3228526

Browse files
committed
Enable -Yno-experimental in the compiler
1 parent 042604c commit 3228526

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class BootstrappedOnlyCompilationTests {
199199
compileDir("tests/plugins/custom/analyzer", withCompilerOptions.and("-Yretain-trees")).checkCompile()
200200
}
201201

202-
// tests for experimental featuress ------------------------------------------
202+
// tests for experimental features ------------------------------------------
203203

204204
@Test def experimental: Unit =
205205
implicit val testGroup: TestGroup = TestGroup("experimental")

project/Build.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,7 @@ object Build {
246246

247247
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test,
248248

249-
// TODO: enable after bootstrap
250-
// scalacOptions += "-Yno-experimental",
249+
scalacOptions += "-Yno-experimental",
251250

252251
// If someone puts a source file at the root (e.g., for manual testing),
253252
// don't pick it up as part of any project.
@@ -448,8 +447,7 @@ object Build {
448447
// Add git-hash used to package the distribution to the manifest to know it in runtime and report it in REPL
449448
packageOptions += ManifestAttributes(("Git-Hash", VersionUtil.gitHash)),
450449

451-
// TODO: enable after bootstrap
452-
// scalacOptions += "-Yno-experimental",
450+
scalacOptions += "-Yno-experimental",
453451

454452
javaOptions ++= {
455453
val managedSrcDir = {

0 commit comments

Comments
 (0)