We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9522b0f commit 9119004Copy full SHA for 9119004
compiler/src/dotty/tools/dotc/reporting/messages.scala
@@ -2455,7 +2455,7 @@ import transform.SymUtils._
2455
|""".stripMargin
2456
}
2457
2458
- class ModifierNotAllowedForDefinition(flag: Flag)(using Context)
+ class ModifierNotAllowedForDefinition(flag: FlagSet)(using Context)
2459
extends SyntaxMsg(ModifierNotAllowedForDefinitionID) {
2460
def msg = s"Modifier `${flag.flagsString}` is not allowed for this definition"
2461
def explain = ""
0 commit comments