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 in LPython 0.19.0 emulation mode: 'function' object has no attribute 'restype' #2222
It works with LPython 0.18.4, but breaks with LPython 0.19.0:
File "/root/mambaforge/envs/ch_emulation/share/lpython/lib/lpython/lpython.py", line 398, in __call__
if self.cf.restype == ctypes.c_char_p:
AttributeError: 'function' object has no attribute 'restype'
Activity
certik commentedon Jul 30, 2023
This fixes it:
certik commentedon Jul 30, 2023
This change was introduced in #2196.
Ensure cf.restype is always available