We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf39e1 commit 542d525Copy full SHA for 542d525
compiler/src/dotty/tools/dotc/typer/Checking.scala
@@ -736,8 +736,8 @@ object Checking {
736
languageImport(qual) match
737
case Some(nme.experimental)
738
if !ctx.owner.isInExperimentalScope && !onlyExperimentalDefs
739
- && selectors.exists(sel => experimental(sel.name) != scala2macros) =>
740
- checkExperimentalFeature("features", imp.srcPos)
+ && selectors.exists(sel => Feature.experimental(sel.name) != Feature.scala2macros) =>
+ Feature.checkExperimentalFeature("features", imp.srcPos)
741
case _ =>
742
}
743
0 commit comments