Skip to content

Commit b2816d3

Browse files
committed
More accurate description of FromStartFlags/AfterLoadFlags
1 parent c0b4400 commit b2816d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,15 +454,15 @@ object Flags {
454454
/** Flags representing access rights */
455455
final val AccessFlags = Private | Protected | Local
456456

457-
/** Flags guaranteed to be set upon symbol creation */
457+
/** Flags guaranteed to be set without completing the denotation */
458458
final val FromStartFlags =
459459
Module | Package | Deferred | MethodOrHKCommon | Param | ParamAccessor.toCommonFlags |
460460
Scala2ExistentialCommon | Mutable.toCommonFlags | Touched | JavaStatic |
461461
CovariantOrOuter | ContravariantOrLabel | CaseAccessor.toCommonFlags |
462462
NonMember | Erroneous | ImplicitCommon | Permanent | Synthetic |
463463
SuperAccessorOrScala2x | Inline
464464

465-
/** Flags guaranteed to be set upon symbol creation, or, if symbol is a top-level
465+
/** Flags guaranteed to be set without completing the denotation, or, if symbol is a top-level
466466
* class or object, when the class file defining the symbol is loaded (which
467467
* is generally before the symbol is completed
468468
*/

0 commit comments

Comments
 (0)