Skip to content

Commit 542d525

Browse files
committed
Fix rebase breakage
1 parent 3bf39e1 commit 542d525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,8 @@ object Checking {
736736
languageImport(qual) match
737737
case Some(nme.experimental)
738738
if !ctx.owner.isInExperimentalScope && !onlyExperimentalDefs
739-
&& selectors.exists(sel => experimental(sel.name) != scala2macros) =>
740-
checkExperimentalFeature("features", imp.srcPos)
739+
&& selectors.exists(sel => Feature.experimental(sel.name) != Feature.scala2macros) =>
740+
Feature.checkExperimentalFeature("features", imp.srcPos)
741741
case _ =>
742742
}
743743

0 commit comments

Comments
 (0)