mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2025-01-06 21:28:25 +03:00
parent
a6d1d1b305
commit
2e41a3941f
@ -994,10 +994,11 @@ paramDecls fname indents
|
||||
keyword "parameters"
|
||||
commit
|
||||
symbol "("
|
||||
ps <- some (do x <- unqualifiedName
|
||||
symbol ":"
|
||||
ty <- typeExpr pdef fname indents
|
||||
pure (UN x, ty))
|
||||
ps <- sepBy (symbol ",")
|
||||
(do x <- unqualifiedName
|
||||
symbol ":"
|
||||
ty <- typeExpr pdef fname indents
|
||||
pure (UN x, ty))
|
||||
symbol ")"
|
||||
ds <- assert_total (nonEmptyBlock (topDecl fname))
|
||||
end <- location
|
||||
|
Loading…
Reference in New Issue
Block a user