Skip to content

Commit b17604d

Browse files
committed
Fix typo in syntax
1 parent 0b4ccc2 commit b17604d

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
@@ -339,7 +339,7 @@ ConstrMods ::= AccessModifier
339339
| Annotation {Annotation} (AccessModifier | ‘this’)
340340
ObjectDef ::= id TemplateOpt ModuleDef(mods, name, template) // no constructor
341341
EnumDef ::= id ClassConstr [`extends' [ConstrApps]] EnumDef(mods, name, tparams, template)
342-
[nl] ‘{’ EnumCaseStat {semi EnumCaseStat ‘}’
342+
[nl] ‘{’ EnumCaseStat {semi EnumCaseStat} ‘}’
343343
EnumCaseStat ::= {Annotation [nl]} {Modifier} EnumCase
344344
EnumCase ::= `case' (EnumClassDef | ObjectDef)
345345
EnumClassDef ::= id [ClsTpeParamClause | ClsParamClause] ClassDef(mods, name, tparams, templ)

0 commit comments

Comments
 (0)