Skip to content

Commit ef0341b

Browse files
committed
Update stdlib to erasedDefinitions language import
1 parent 47040eb commit ef0341b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/parsing/Scanners.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ object Scanners {
191191
final def languageImportContext_=(c: Context) = myLanguageImportContext = c
192192

193193
def featureEnabled(name: TermName) = Feature.enabled(name)(using languageImportContext)
194-
def erasedEnabled = featureEnabled(Feature.erasedTerms) || ctx.settings.YerasedTerms.value
194+
def erasedEnabled = featureEnabled(Feature.erasedDefinitions) || ctx.settings.YerasedTerms.value
195195

196196
/** All doc comments kept by their end position in a `Map`.
197197
*

0 commit comments

Comments
 (0)