From 4ec376b67d605910cb7757dc2e15a28a942f59ca Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 28 May 2026 04:24:51 +0200 Subject: Correct type modifier combinations and grouping Signed-off-by: Mel --- docs/grammar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/grammar.md') diff --git a/docs/grammar.md b/docs/grammar.md index 18a8550..fd47c47 100644 --- a/docs/grammar.md +++ b/docs/grammar.md @@ -236,10 +236,10 @@ type_variant = "variant" "{" variant_cases "}" type_class = "class" "{" class_methods "}" type_function = "fun" function_header type_structure = "{" struct_fields "}" -type_tuple = "(" [ type { "," type } ] ")" +type_tuple = "(" [ type { "," type } ] ")" # 1-tuple is equivalent to a simple group type_array = "[" type "]" type_map = "[" type "=" type "]" -type_reference = "&" type +type_reference = "&" type_inner # common shapes -- cgit 1.4.1