Skip to content

Commit 5dc50c4

Browse files
authored
Merge pull request #4254 from dotty-staging/change-desc-higher-kinded-flag
Drop MethodOrHKCommon, ensure HigherKinded is properly labeled
2 parents a9e2231 + d4e9338 commit 5dc50c4

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>")
@@ -453,7 +452,8 @@ object Flags {
453452

454453
/** Flags that are not (re)set when completing the denotation */
455454
final val FromStartFlags =
456-
Module | Package | Deferred | MethodOrHKCommon | Param | ParamAccessor.toCommonFlags |
455+
Module | Package | Deferred | Method.toCommonFlags |
456+
HigherKinded.toCommonFlags | Param | ParamAccessor.toCommonFlags |
457457
Scala2ExistentialCommon | Mutable.toCommonFlags | Touched | JavaStatic |
458458
CovariantOrOuter | ContravariantOrLabel | CaseAccessor.toCommonFlags |
459459
NonMember | ImplicitCommon | Permanent | Synthetic |

0 commit comments

Comments
 (0)