=> macro tripped on generic return types
example fail `(a:int,b:int) -> Foo[int] => Foo[int](x: a + b)`
This commit is contained in:
parent
e54ab22bf9
commit
657a00056e
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