Skip to content

Parsing error in RHS parenthesis expression with package scope within part select #34

@gmlarumbe

Description

@gmlarumbe
assign a = (a.a == a[a::a-1:0]); // ERROR

// The ones below are OK
assign a = (a.a == a[(a::a)-1:0]);
assign a = a.a == a[a::a-1:0];
assign a = (a.a[0] == a[a::a-1:0]);
assign a = a.a[0] == a[a::a-1:0];
assign a = (a.a[0] == a[(a::a)-1:0]);
assign a = (a.a[i] == a[a::a-1:0]);
assign a = (a == a[a::a-1:0]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions