Skip to content

Commit 1196770

Browse files
authored
Typo in grammar for ~P (#449)
Otherwise the grammar only allows `~P` on the final element of a list.
2 parents 7e4d89a + 0c16508 commit 1196770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TSPL.docc/ReferenceManual/Types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ to specify the type of its raw values, see <doc:Enumerations#Raw-Values>.
13501350
> Grammar of a type inheritance clause:
13511351
>
13521352
> *type-inheritance-clause***`:`** *type-inheritance-list* \
1353-
> *type-inheritance-list**attributes*_?_ **`~`**_?_ *type-identifier* | *attributes*_?_ *type-identifier* **`,`** *type-inheritance-list*
1353+
> *type-inheritance-list**attributes*_?_ **`~`**_?_ *type-identifier* | *attributes*_?_ **`~`**_?_ *type-identifier* **`,`** *type-inheritance-list*
13541354
13551355
## Type Inference
13561356

0 commit comments

Comments
 (0)