Skip to content

Commit 4a7746f

Browse files
committed
Make Case a FromStartFlag
1 parent 5461089 commit 4a7746f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,9 @@ object Flags {
403403
final val Scala2ExistentialCommon: FlagSet = commonFlag(55, "<existential>")
404404
final val Scala2Existential: FlagSet = Scala2ExistentialCommon.toTypeFlags
405405

406+
/** Children were queried on this class */
407+
final val ChildrenQueried = typeFlag(56, "<children-queried>")
408+
406409
/** A module variable (Scala 2.x only) */
407410
final val Scala2ModuleVar: FlagSet = termFlag(57, "<modulevar>")
408411

@@ -462,7 +465,7 @@ object Flags {
462465

463466
/** Flags that are not (re)set when completing the denotation */
464467
final val FromStartFlags: FlagSet =
465-
Module | Package | Deferred | Method.toCommonFlags |
468+
Module | Package | Deferred | Method.toCommonFlags | Case |
466469
HigherKinded.toCommonFlags | Param | ParamAccessor.toCommonFlags |
467470
Scala2ExistentialCommon | MutableOrOpaque | Touched | JavaStatic |
468471
CovariantOrOuter | ContravariantOrLabel | CaseAccessor.toCommonFlags |

0 commit comments

Comments
 (0)