Open mytechnotalent opened 4 months ago
Smaller repro:
from python import Python, PythonObject
def f() -> Tuple[PythonObject]:
var np = Python.import_module("numpy")
return np.array([0])
def main():
var t = f()
var y = t[0]
print(y)
I doubt if NumPy is relevant, however, I wasn't able reduce it away.
Bug description
main
calling function
Steps to reproduce
mojo main.mojo