You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/ronnuriel/Desktop/testlpython.py", line 21, in <module>
class D(Union):
File "/Users/ronnuriel/Desktop/testlpython.py", line 22, in D
a: A = A()
TypeError: A.__init__() missing 2 required positional arguments: 'ax' and 'ay'
The text was updated successfully, but these errors were encountered:
Ah, we need to fix this. It looks like LPython works for the file, but not CPython, which is a bug that we need to fix. Thanks for the report @ronnuriel!
Cpython runtime error:
My Unions:
Please test again union_02.py using Cpython run
Cpython error when running union_02.py
The text was updated successfully, but these errors were encountered: