Skip to content

compiler panic in dynarray_make_setter #4749

@cyberthirst

Description

@cyberthirst

Version Information

  • vyper Version (output of vyper --version): 34a9e08

What's your issue about?

@deploy
def __init__():
    u: DynArray[uint256, 1] = [] if ((False) and (True)) else []
vyper.exceptions.CompilerPanic: cannot dereference non-pointer type

  contract "tests/custom/test.vy:4", function "__init__", line 4:4 
       3 def __init__():
  ---> 4     u: DynArray[uint256, 1] = [] if ((False) and (True)) else []
  -----------^
       5


This is an unhandled internal compiler error. Please create an issue on Github to notify the developers!
https://github.com/vyperlang/vyper/issues/new?template=bug.md

bug found by ivy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions