Skip to content

Commit ef315c5

Browse files
authored
Merge pull request #11193 from dotty-staging/change-language-import
Make sure language imports are detectable syntactically
2 parents 5086978 + 26a39ca commit ef315c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class ImportInfo(symf: Context ?=> Symbol,
188188

189189
private var featureCache: SimpleIdentityMap[TermName, java.lang.Boolean] = SimpleIdentityMap.empty
190190

191-
/** Does this import clause or a preceding import clause enable or disable `feature`?
191+
/** Does this import clause enable or disable `feature`?
192192
* @param feature See featureImported for a description
193193
* @return Some(true) if `feature` is imported
194194
* Some(false) if `feature` is excluded

0 commit comments

Comments
 (0)