Skip to content

[Bug]: Impossible to generate IR: 'list' object has no attribute 'type' #1537

Open
@0xPhaze

Description

@0xPhaze

Describe the issue:

A bit of a rare case, but...

Code example to reproduce the issue:

library Constants {
    uint8 constant value = [[1, 2], [3, 4]][0][0];
}

Version:

0.9.1

Relevant log output:

Impossible to generate IR for ConstantExpressions.slitherConstructorConstantVariables:
 'list' object has no attribute 'type'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingir

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions