Skip to content

Commit

Permalink
Update stdlib to erasedDefinitions language import
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Mar 17, 2021
1 parent 47040eb commit ef0341b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/parsing/Scanners.scala
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ object Scanners {
final def languageImportContext_=(c: Context) = myLanguageImportContext = c

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

/** All doc comments kept by their end position in a `Map`.
*
Expand Down

0 comments on commit ef0341b

Please sign in to comment.