Fix param gramamr

This commit is contained in:
Aleksey Kladov 2020-07-30 18:15:08 +02:00
parent ba71f05438
commit b2cdb0b226

View file

@ -66,8 +66,11 @@ SelfParam =
)
Param =
Attr* Pat (':' ascribed_type:TypeRef)
| '...'
Attr* (
Pat (':' ascribed_type:TypeRef)
| ascribed_type:TypeRef
| '...'
)
RetType =
'->' TypeRef