We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25aa624 commit 7e69e2dCopy full SHA for 7e69e2d
compiler/src/dotty/tools/dotc/Driver.scala
@@ -68,8 +68,7 @@ class Driver {
68
69
def setup(args: Array[String], rootCtx: Context): (Option[List[AbstractFile]], Context) = {
70
val ictx = rootCtx.fresh
71
- val settings = config.ScalaSettings()
72
- val summary = command.distill(args, settings, settings.defaultState)
+ val summary = command.distill(args, ictx.settings, ictx.settingsState)
73
ictx.setSettings(summary.sstate)
74
MacroClassLoader.init(ictx)
75
Positioned.init(using ictx)
0 commit comments