Skip to content

Commit

Permalink
fix: reversed wconf parsing order to mirror scala 2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmatthiggins committed Sep 3, 2023
1 parent 89e8dba commit a8380cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/reporting/WConf.scala
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ object WConf:
val setting = ctx.settings.Wconf.value
def cached = ctx.base.wConfCache
if cached == null || cached._1 != setting then
val conf = fromSettings(setting)
val conf = fromSettings(setting.reverse)
ctx.base.wConfCache = (setting, conf.getOrElse(WConf(Nil)))
conf.swap.foreach(msgs =>
val multiHelp =
Expand Down

0 comments on commit a8380cc

Please sign in to comment.