@@ -387,8 +387,8 @@ DefParamClauses ::= DefParamClause { DefParamClause } -- and two DefTypeParam
387
387
DefParamClause ::= DefTypeParamClause
388
388
| DefTermParamClause
389
389
| UsingParamClause
390
- TypelessClauses ::= TypelessClause {TypelessClause }
391
- TypelessClause ::= DefTermParamClause
390
+ ConstrParamClauses ::= ConstrParamClause {ConstrParamClause }
391
+ ConstrParamClause ::= DefTermParamClause
392
392
| UsingParamClause
393
393
DefTermParamClause::= [nl] ‘(’ [DefTermParams] ‘)’
394
394
UsingParamClause ::= [nl] ‘(’ ‘using’ (DefTermParams | FunArgTypes) ‘)’
@@ -459,7 +459,7 @@ Def ::= ‘val’ PatDef
459
459
PatDef ::= ids [‘:’ Type] [‘=’ Expr]
460
460
| Pattern2 [‘:’ Type] [‘=’ Expr] PatDef(_, pats, tpe?, expr)
461
461
DefDef ::= DefSig [‘:’ Type] [‘=’ Expr] DefDef(_, name, paramss, tpe, expr)
462
- | ‘this’ TypelessClauses [DefImplicitClause] ‘=’ ConstrExpr DefDef(_, <init>, vparamss, EmptyTree, expr | Block)
462
+ | ‘this’ ConstrParamClauses [DefImplicitClause] ‘=’ ConstrExpr DefDef(_, <init>, vparamss, EmptyTree, expr | Block)
463
463
DefSig ::= id [DefParamClauses] [DefImplicitClause]
464
464
TypeDef ::= id [HkTypeParamClause] {FunParamClause} TypeAndCtxBounds TypeDefTree(_, name, tparams, bound
465
465
[‘=’ Type]
0 commit comments