Skip to content

Commit a8380cc

Browse files
fix: reversed wconf parsing order to mirror scala 2
1 parent 89e8dba commit a8380cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/src/dotty/tools/dotc/reporting/WConf.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ object WConf:
9191
val setting = ctx.settings.Wconf.value
9292
def cached = ctx.base.wConfCache
9393
if cached == null || cached._1 != setting then
94-
val conf = fromSettings(setting)
94+
val conf = fromSettings(setting.reverse)
9595
ctx.base.wConfCache = (setting, conf.getOrElse(WConf(Nil)))
9696
conf.swap.foreach(msgs =>
9797
val multiHelp =

0 commit comments

Comments
 (0)