Closed lhupfeldt closed 3 years ago
This has to do with Nimpy rather than Nimporter directly. Please consult with Nimpy's documentation. Let me know if you can get this working because I'm curious myself if methods will work. My guess is that Nimpy does not support them but I could be wrong.
Correct, seems Nimpy does not handle types and methods. So I probably can't use it. Too bad.
Closing this for now as it seems a determination has been made.
@Pebaz nimpy already supports types and methods, so we can follow up now. See https://github.com/yglukhov/nimpy/pull/210
ttt.nim(13, 1) Error: Expected one of {nnkProcDef, nnkIteratorDef, nnkFuncDef}, got nnkMethodDef