aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/SyntaxSummary.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/SyntaxSummary.txt b/docs/SyntaxSummary.txt
index 45937fb54..6751c90e2 100644
--- a/docs/SyntaxSummary.txt
+++ b/docs/SyntaxSummary.txt
@@ -225,7 +225,8 @@ grammar.
TypTypeParam ::= {Annotation} id [HkTypeParamClause] TypeBounds
HkTypeParamClause ::= `[' HkTypeParam {`,' HkTypeParam} `]'
- HkTypeParam ::= {Annotation} ['+' | `-'] (Id | `_') TypeBounds
+ HkTypeParam ::= {Annotation} ['+' | `-'] (Id[HkTypeParamClause] | `_')
+ TypeBounds
ClsParamClauses ::= {ClsParamClause} [[nl] `(' `implicit' ClsParams `)']
ClsParamClause ::= [nl] `(' [ClsParams] ')'
@@ -280,7 +281,7 @@ grammar.
DefDcl ::= DefSig [`:' Type] DefDef(_, name, tparams, vparamss, tpe, EmptyTree)
DefSig ::= id [DefTypeParamClause] DefParamClauses
TypeDcl ::= id [TypTypeParamClause] ['=' Type] TypeDefTree(_, name, tparams, tpt)
- | id [HkParamClause] TypeBounds TypeDefTree(_, name, tparams, bounds)
+ | id [HkTypeParamClause] TypeBounds TypeDefTree(_, name, tparams, bounds)
Def ::= `val' PatDef
| `var' VarDef