Skip to content

Bug in LPython 0.19.0 emulation mode: 'function' object has no attribute 'restype' #2222

Closed
@certik

Description

@certik

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'

I still need to create a minimal example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions