Skip to content

Commit fde700c

Browse files
committed
Remove Inline and Final from AfterLoadFlags
They can both be set while completing a denotation.
1 parent 889c87c commit fde700c

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
@@ -460,15 +460,15 @@ object Flags {
460460
Scala2ExistentialCommon | Mutable.toCommonFlags | Touched | JavaStatic |
461461
CovariantOrOuter | ContravariantOrLabel | CaseAccessor.toCommonFlags |
462462
NonMember | Erroneous | ImplicitCommon | Permanent | Synthetic |
463-
SuperAccessorOrScala2x | Inline
463+
SuperAccessorOrScala2x
464464

465465
/** Flags that are not (re)set when completing the denotation, or, if symbol is
466466
* a top-level class or object, when completing the denotation once the class
467467
* file defining the symbol is loaded (which is generally before the denotation
468468
* is completed)
469469
*/
470470
final val AfterLoadFlags =
471-
FromStartFlags | AccessFlags | Final | AccessorOrSealed | LazyOrTrait | SelfNameOrImplClass
471+
FromStartFlags | AccessFlags | AccessorOrSealed | LazyOrTrait | SelfNameOrImplClass
472472

473473
assert(FromStartFlags.isTermFlags && FromStartFlags.isTypeFlags)
474474
// TODO: Should check that FromStartFlags do not change in completion

0 commit comments

Comments
 (0)