Skip to content

Commit ed5a4d1

Browse files
Merge pull request #7122 from SrTobi/SrTobi/fix-grammar
fixed missing ’ in grammar
2 parents 524c978 + d4e0bdc commit ed5a4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/internals/syntax.md

+1-1
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)