Got answer on IRC: function types use closure call convention by default. It
works by changing it to nimcall
type Fid[A] = proc(x: A): A {.noSideEffect, nimcall.}
Run
- Function type check of generic function giaco
- Function type check of generic function giaco
