Is there something like `inspect_types()` for a nu

2019-07-29 18:55发布

问题:

My numba @jitclass fails with a TypingError and an unhelpful error message, once I try to instantiate it: Can't infer type of variable '$0.1': list(undefined). Which variable does that $0.1 correspond to (ok, probably the first one encountered, but in which function?). With normal functions, inspect_types() would be very helpful here. However, It doesn't seem to exist, neither on the jitclass, nor on it's methods. Is there something like that for jitclasses? I'm on numba 0.28.1 (currently the latest stable), but in general, I'm just interested about the most recent version of numba.