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:
41
41
def experimentalAutoEnableFeatures (using Context ): List [TermName ] =
42
42
defn.languageExperimentalFeatures
43
43
.map(sym => experimental(sym.name))
44
- .filterNot(_ == captureChecking) // TODO is this correct?
44
+ .filterNot(sym => sym == captureChecking || sym == separationChecking ) // TODO is this correct?
45
45
46
46
val values = List (
47
47
(nme.help, " Display all available features" ),
Original file line number Diff line number Diff line change @@ -926,6 +926,7 @@ object Checking {
926
926
val name = Feature .experimental(sel.name)
927
927
name == Feature .scala2macros
928
928
|| name == Feature .captureChecking
929
+ || name == Feature .separationChecking
929
930
trees.filter {
930
931
case Import (qual, selectors) =>
931
932
languageImport(qual) match
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ object MiMaFilters {
16
16
17
17
ProblemFilters .exclude[MissingFieldProblem ](" scala.runtime.stdLibPatches.language.2.13" ),
18
18
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$" ),
19
21
20
22
ProblemFilters .exclude[DirectMissingMethodProblem ](" scala.Conversion.underlying" ),
21
23
ProblemFilters .exclude[MissingClassProblem ](" scala.Conversion$" ),
You can’t perform that action at this time.
0 commit comments