diff --git a/LANGUAGE.md b/LANGUAGE.md index 897c8fa..a75ba69 100644 --- a/LANGUAGE.md +++ b/LANGUAGE.md @@ -473,8 +473,8 @@ type-decl ::= variant-decl | record-decl | flags-decl | enum-decl | ty item-type-decl ::= resource-decl | type-decl resource-decl ::= 'resource' id '{' resource-item* '}' resource-item ::= constructor | method -constructor ::= 'constructor' param-list -method ::= id ':' 'static'? func-type +constructor ::= 'constructor' param-list ';' +method ::= id ':' 'static'? func-type ';' variant-decl ::= 'variant' id '{' variant-cases '}' variant-cases ::= variant-case (',' variant-case)* ','? variant-case ::= id ('(' type ')')?