@@ -176,6 +176,7 @@ Standard-Section: "ASTs" TopLevelStat*
176
176
ORtype Length left_Type right_Type -- lefgt | right
177
177
MATCHtype Length bound_Type sel_Type case_Type* -- sel match {cases} with optional upper `bound`
178
178
MATCHCASEtype Length pat_type rhs_Type -- match cases are MATCHCASEtypes or TYPELAMBDAtypes over MATCHCASEtypes
179
+ FLEXIBLEtype Length underlying_Type -- (underlying)?
179
180
BIND Length boundName_NameRef bounds_Type Modifier* -- boundName @ bounds, for type-variables defined in a type pattern
180
181
BYNAMEtype underlying_Type -- => underlying
181
182
PARAMtype Length binder_ASTRef paramNum_Nat -- A reference to parameter # paramNum in lambda type `binder`
@@ -649,7 +650,7 @@ object TastyFormat {
649
650
firstNatTreeTag <= tag && tag <= RENAMED ||
650
651
firstASTTreeTag <= tag && tag <= BOUNDED ||
651
652
firstNatASTTreeTag <= tag && tag <= NAMEDARG ||
652
- firstLengthTreeTag <= tag && tag <= MATCHCASEtype ||
653
+ firstLengthTreeTag <= tag && tag <= FLEXIBLEtype ||
653
654
tag == HOLE
654
655
655
656
def isParamTag (tag : Int ): Boolean = tag == PARAM || tag == TYPEPARAM
@@ -851,6 +852,7 @@ object TastyFormat {
851
852
case MATCHCASEtype => " MATCHCASEtype"
852
853
case MATCHtpt => " MATCHtpt"
853
854
case PARAMtype => " PARAMtype"
855
+ case FLEXIBLEtype => " FLEXIBLEtype"
854
856
case ANNOTATION => " ANNOTATION"
855
857
case PRIVATEqualified => " PRIVATEqualified"
856
858
case PROTECTEDqualified => " PROTECTEDqualified"
0 commit comments