Skip to content

Commit d4e9338

Browse files
committed
Drop MethodOrHKCommon, ensure HigherKinded is properly labeled
1 parent 4c8a2bd commit d4e9338

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,8 @@ object Flags {
222222
final val Final = commonFlag(6, "final")
223223

224224
/** A method symbol. */
225-
final val MethodOrHKCommon = commonFlag(7, "<method>")
226-
final val Method = MethodOrHKCommon.toTermFlags
227-
final val HigherKinded = MethodOrHKCommon.toTypeFlags
225+
final val Method = termFlag(7, "<method>")
226+
final val HigherKinded = typeFlag(7, "<higher kinded>")
228227

229228
/** A (term or type) parameter to a class or method */
230229
final val Param = commonFlag(8, "<param>")
@@ -456,7 +455,8 @@ object Flags {
456455

457456
/** Flags guaranteed to be set upon symbol creation */
458457
final val FromStartFlags =
459-
Module | Package | Deferred | MethodOrHKCommon | Param | ParamAccessor.toCommonFlags |
458+
Module | Package | Deferred | Method.toCommonFlags |
459+
HigherKinded.toCommonFlags | Param | ParamAccessor.toCommonFlags |
460460
Scala2ExistentialCommon | Mutable.toCommonFlags | Touched | JavaStatic |
461461
CovariantOrOuter | ContravariantOrLabel | CaseAccessor.toCommonFlags |
462462
NonMember | Erroneous | ImplicitCommon | Permanent | Synthetic |

0 commit comments

Comments
 (0)