Fix param gramamr
This commit is contained in:
parent
ba71f05438
commit
b2cdb0b226
@ -66,8 +66,11 @@ SelfParam =
|
||||
)
|
||||
|
||||
Param =
|
||||
Attr* Pat (':' ascribed_type:TypeRef)
|
||||
| '...'
|
||||
Attr* (
|
||||
Pat (':' ascribed_type:TypeRef)
|
||||
| ascribed_type:TypeRef
|
||||
| '...'
|
||||
)
|
||||
|
||||
RetType =
|
||||
'->' TypeRef
|
||||
|
Loading…
x
Reference in New Issue
Block a user