Open raviteja-bhupatiraju opened 2 years ago
I am trying to generate a function with a function pointer argument.
Code: proc gen_nums(a: int, f: proc(i: int)) = f(a)
Error: exp.nim(30, 1) template/generic instantiation of exportProcs from here exp.nim(27, 30) Error: Invalid node kind nnkProcTy for macros.$
exportProcs
$
I am trying to generate a function with a function pointer argument.
Code: proc gen_nums(a: int, f: proc(i: int)) = f(a)
Error: exp.nim(30, 1) template/generic instantiation of
exportProcs
from here exp.nim(27, 30) Error: Invalid node kind nnkProcTy for macros.$