Skip to content

compiler crash in _parse_For_list due to incorrect value and target type assertion #4729

@cyberthirst

Description

@cyberthirst

Version Information

  • vyper Version (output of vyper --version): a343c1e

What's your issue about?

@external
def bar():
    d: DynArray[DynArray[uint256, 10], 10] = [[]]
    for i: DynArray[uint256, 30] in d:
        pass
vyper.exceptions.CodegenPanic: unhandled exception , parse_For

  contract "tests/custom/test.vy:4", function "bar", line 4:4 
       3     d: DynArray[DynArray[uint256, 10], 10] = [[]]
  ---> 4     for i: DynArray[uint256, 30] in d:
  -----------^
       5         pass


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

How can it be fixed?

Fill this in if you know how to fix it.

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