Merge pull request #1209 from fowlmouth/patch-3
`=>` macro tripped on generic return types
This commit is contained in:
commit
c6c7c651e6
1 changed files with 0 additions and 1 deletions
|
|
@ -18,7 +18,6 @@ proc createProcType(p, b: PNimrodNode): PNimrodNode {.compileTime.} =
|
|||
result = newNimNode(nnkProcTy)
|
||||
var formalParams = newNimNode(nnkFormalParams)
|
||||
|
||||
expectKind(b, nnkIdent)
|
||||
formalParams.add b
|
||||
|
||||
case p.kind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue