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
{{ message }}
Repository navigation
Bug Union init - C backend + Cpython + Lpython tests #1915
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'
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!
Activity
[-]Bug Union init - C backend + Cpython[/-][+]Bug Union init - C backend + Cpython + Lpython tests[/+]Smit-create commentedon Jun 15, 2023
Yes,
cpythontests are not enabled forunion_02.pycertik commentedon Jun 15, 2023
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!