File tree 3 files changed +3
-5
lines changed
compiler/src/dotty/tools/dotc
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Settings.*
5
5
import core .Contexts .*
6
6
7
7
abstract class CompilerCommand extends CliCommand :
8
- type ConcreteSettings = ScalaSettings
8
+ type ConcreteSettings = ScalaSettings . type
9
9
10
10
final def helpMsg (using settings : ConcreteSettings )(using SettingsState , Context ): String =
11
11
settings.allSettings.find(isHelping) match
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ object ScalaSettingCategories:
23
23
val AdvancedSetting = " X"
24
24
val VerboseSetting = " V"
25
25
26
- type ScalaSettings = ScalaSettings .type
27
-
28
26
object ScalaSettings extends SettingGroup , AllScalaSettings :
29
27
val settingsByCategory : Map [String , List [Setting [_]]] =
30
28
allSettings.groupBy(_.category)
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ object Contexts {
513
513
s """ Context(
514
514
| ${outersIterator.map(ctx => cinfo(using ctx)).mkString(" \n\n " )}) """ .stripMargin
515
515
516
- def settings : ScalaSettings = base.settings
516
+ def settings : ScalaSettings . type = base.settings
517
517
def definitions : Definitions = base.definitions
518
518
def platform : Platform = base.platform
519
519
def pendingUnderlying : util.HashSet [Type ] = base.pendingUnderlying
@@ -861,7 +861,7 @@ object Contexts {
861
861
with Phases .PhasesBase
862
862
with Plugins {
863
863
864
- val settings : ScalaSettings = ScalaSettings
864
+ val settings : ScalaSettings . type = ScalaSettings
865
865
866
866
/** The initial context */
867
867
val initialCtx : Context = FreshContext .initial(this : @ unchecked, settings)
You can’t perform that action at this time.
0 commit comments