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 03965db commit 12a5d66Copy full SHA for 12a5d66
compiler/src/dotty/tools/dotc/ast/untpd.scala
@@ -250,7 +250,6 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
250
if this.flags.isAllOf(flags) then this
251
else if compatible(this.flags, flags) then this | flags
252
else
253
- println(i"BAD")
254
val what = if flags.isTermFlags then "values" else "types"
255
ctx.error(em"${(flags & ModifierFlags).flagsString} $what cannot be ${this.flags.flagsString}", ctx.source.atSpan(span))
256
Modifiers(flags)
0 commit comments