Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PyCDE,Ibis] Crash on no-argument method wrapping #6968

Closed
mortbopet opened this issue Apr 30, 2024 · 0 comments · Fixed by #7000
Closed

[PyCDE,Ibis] Crash on no-argument method wrapping #6968

mortbopet opened this issue Apr 30, 2024 · 0 comments · Fixed by #7000
Assignees

Comments

@mortbopet
Copy link
Contributor

providing an ibis @method wrapping with no arguments:

class MyIbisMod(IbisClass):
    @method
    def myMethod(self) -> UInt(32):
        pass

crashes the StructType CAPI builder: https://github.com/llvm/circt/blob/main/frontends/PyCDE/src/pycde/ibis.py#L34, presumably due to not supporting an empty dictionary {} as an argument.

@teqdruid teqdruid linked a pull request May 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants