Skip to content

Re-bootstrap compiler #11816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
val YexplicitNulls: Setting[Boolean] = BooleanSetting("-Yexplicit-nulls", "Make reference types non-nullable. Nullable types can be expressed with unions: e.g. String|Null.")
val YcheckInit: Setting[Boolean] = BooleanSetting("-Ysafe-init", "Ensure safe initialization of objects")
val YrequireTargetName: Setting[Boolean] = BooleanSetting("-Yrequire-targetName", "Warn if an operator is defined without a @targetName annotation")
val YerasedTerms: Setting[Boolean] = BooleanSetting("-Yerased-terms", "(disabled, use -language:experimental.erasedDefinitions instead)")

/** Area-specific debug output */
val YexplainLowlevel: Setting[Boolean] = BooleanSetting("-Yexplain-lowlevel", "When explaining type errors, show types at a lower level.")
Expand Down
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.erasedDefinitions) || ctx.settings.YerasedTerms.value
def erasedEnabled = featureEnabled(Feature.erasedDefinitions)

/** All doc comments kept by their end position in a `Map`.
*
Expand Down
169 changes: 0 additions & 169 deletions library/src-non-bootstrapped/scala/compiletime/ops/int.scala

This file was deleted.

176 changes: 0 additions & 176 deletions library/src-non-bootstrapped/scala/compiletime/package.scala

This file was deleted.

22 changes: 0 additions & 22 deletions library/src-non-bootstrapped/scala/quoted/Type.scala

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package scala
package compiletime

import scala.language.experimental.erasedDefinitions

import annotation.compileTimeOnly

/** Use this method when you have a type, do not have a value for it but want to
Expand Down
Loading