Skip to content

Commit aa13ddf

Browse files
committed
Experimental bookkeeping chores
1 parent 4c3b64f commit aa13ddf

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

compiler/src/dotty/tools/dotc/config/Feature.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ object Feature:
4141
def experimentalAutoEnableFeatures(using Context): List[TermName] =
4242
defn.languageExperimentalFeatures
4343
.map(sym => experimental(sym.name))
44-
.filterNot(_ == captureChecking) // TODO is this correct?
44+
.filterNot(sym => sym == captureChecking || sym == separationChecking) // TODO is this correct?
4545

4646
val values = List(
4747
(nme.help, "Display all available features"),

compiler/src/dotty/tools/dotc/typer/Checking.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,7 @@ object Checking {
926926
val name = Feature.experimental(sel.name)
927927
name == Feature.scala2macros
928928
|| name == Feature.captureChecking
929+
|| name == Feature.separationChecking
929930
trees.filter {
930931
case Import(qual, selectors) =>
931932
languageImport(qual) match

project/MiMaFilters.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ object MiMaFilters {
1616

1717
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language.2.13"),
1818
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$2$u002E13$"),
19+
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#experimental.separationChecking"),
20+
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$separationChecking$"),
1921

2022
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.Conversion.underlying"),
2123
ProblemFilters.exclude[MissingClassProblem]("scala.Conversion$"),

0 commit comments

Comments
 (0)