Skip to content

Commit d4e0bdc

Browse files
committed
Added missing ’ in grammar for GivenBody
1 parent 524c978 commit d4e0bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/internals/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ ConstrMods ::= {Annotation} [AccessModifier]
385385
ObjectDef ::= id [Template] ModuleDef(mods, name, template) // no constructor
386386
EnumDef ::= id ClassConstr InheritClauses EnumBody EnumDef(mods, name, tparams, template)
387387
GivenDef ::= [id] [DefTypeParamClause] GivenBody
388-
GivenBody ::= [‘as ConstrApp {‘,’ ConstrApp }] {GivenParamClause} [TemplateBody]
388+
GivenBody ::= [‘as ConstrApp {‘,’ ConstrApp }] {GivenParamClause} [TemplateBody]
389389
| ‘as’ Type {GivenParamClause} ‘=’ Expr
390390
| ‘(’ DefParam ‘)’ TemplateBody
391391
Template ::= InheritClauses [TemplateBody] Template(constr, parents, self, stats)

0 commit comments

Comments
 (0)