Skip to content

Commit f521a5a

Browse files
committed
Address reviewers comments
1 parent b4b8d64 commit f521a5a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/src/dotty/tools/dotc/core/Denotations.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ object Denotations {
734734
this
735735
case _ =>
736736
if (coveredInterval.containsPhaseId(ctx.phaseId)) {
737-
if (ctx.debug || true) ctx.traceInvalid(this)
737+
if (ctx.debug) ctx.traceInvalid(this)
738738
staleSymbolError
739739
}
740740
else NoDenotation

compiler/src/dotty/tools/dotc/core/Flags.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,13 +400,13 @@ object Flags {
400400
final val Scala2ModuleVar = termFlag(57, "<modulevar>")
401401

402402
/** A Scala 2.12 trait that has been augmented with static members */
403-
final val Scala_2_12_Augmented = typeFlag(57, "<scala12augmented")
403+
final val Scala_2_12_Augmented = typeFlag(57, "<scala_2_12_augmented>")
404404

405405
/** A definition that's initialized before the super call (Scala 2.x only) */
406406
final val Scala2PreSuper = termFlag(58, "<presuper>")
407407

408408
/** A Scala 2.12 or higher trait */
409-
final val Scala_2_12_Trait = typeFlag(58, "<scala12trait>")
409+
final val Scala_2_12_Trait = typeFlag(58, "<scala_2_12_trait>")
410410

411411
/** A macro (Scala 2.x only) */
412412
final val Macro = commonFlag(59, "<macro>")

0 commit comments

Comments
 (0)