File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Settings.*
55import core .Contexts .*
66
77abstract class CompilerCommand extends CliCommand :
8- type ConcreteSettings = ScalaSettings
8+ type ConcreteSettings = ScalaSettings . type
99
1010 final def helpMsg (using settings : ConcreteSettings )(using SettingsState , Context ): String =
1111 settings.allSettings.find(isHelping) match
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ object ScalaSettingCategories:
2323 val AdvancedSetting = " X"
2424 val VerboseSetting = " V"
2525
26- type ScalaSettings = ScalaSettings .type
27-
2826object ScalaSettings extends SettingGroup , AllScalaSettings :
2927 val settingsByCategory : Map [String , List [Setting [_]]] =
3028 allSettings.groupBy(_.category)
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ object Contexts {
513513 s """ Context(
514514 | ${outersIterator.map(ctx => cinfo(using ctx)).mkString(" \n\n " )}) """ .stripMargin
515515
516- def settings : ScalaSettings = base.settings
516+ def settings : ScalaSettings . type = base.settings
517517 def definitions : Definitions = base.definitions
518518 def platform : Platform = base.platform
519519 def pendingUnderlying : util.HashSet [Type ] = base.pendingUnderlying
@@ -861,7 +861,7 @@ object Contexts {
861861 with Phases .PhasesBase
862862 with Plugins {
863863
864- val settings : ScalaSettings = ScalaSettings
864+ val settings : ScalaSettings . type = ScalaSettings
865865
866866 /** The initial context */
867867 val initialCtx : Context = FreshContext .initial(this : @ unchecked, settings)
You can’t perform that action at this time.
0 commit comments