TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Untyped global name ‘Tuple’: Cannot determine Numba type of <class ‘numba.core.types.abstract._TypeMetaclass’>
hi @zxweed , I think the problem lies in Tuple. Maybe try something like tup_type = Tuple((int64, float64)) outside the jitted function and then L = List.empty_list(tup_type) inside.
I think what’s deprecated is passing a python list as an input argument, not creating it inside the function. At least, that’s what I read from the description and the fact that running this code does not issue a deprecation warning.