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

vyper.exceptions.CodegenPanic: unhandled exception , parse_Call #4354

Open
pcaversaccio opened this issue Nov 8, 2024 · 0 comments · May be fixed by #4369
Open

vyper.exceptions.CodegenPanic: unhandled exception , parse_Call #4354

pcaversaccio opened this issue Nov 8, 2024 · 0 comments · May be fixed by #4369
Labels
bug - type 0 compiler halts or panics instead of generating code

Comments

@pcaversaccio
Copy link
Collaborator

pcaversaccio commented Nov 8, 2024

@external
@view
def foo() -> Bytes[132]:
    x: uint256 = 1
    y: Bytes[32] = b"234"
    return abi_encode(x, y, method_id=b"")

will output:

Error compiling: test.vy
vyper.exceptions.CodegenPanic: unhandled exception , parse_Call

  contract "test.vy:6", function "foo", line 6:11
       5     y: Bytes[32] = b"234"
  ---> 6     return abi_encode(x, y, method_id=b"")
  ------------------^


This is an unhandled internal compiler error. Please create an issue on Github to notify the developers!
@charles-cooper charles-cooper added the bug - type 0 compiler halts or panics instead of generating code label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug - type 0 compiler halts or panics instead of generating code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants