File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff 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" ),
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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$" ),
You can’t perform that action at this time.
0 commit comments