Skip to content

Compiler bug: bit<32>: unexpected type #4142

Closed
@jhavrane

Description

Issue

terminate called after throwing an instance of 'Util::CompilerBug'
  what():  In file: ./p4c/ir/ir.def:411
Compiler Bug: prog.p4(2): bit<32>: unexpected type
bit<32>() main;

P4 program

#include <core.p4>
bit<32>() main;

Metadata

Assignees

No one assigned

    Labels

    bugThis behavior is unintended and should be fixed.coreTopics concerning the core segments of the compiler (frontend, midend, parser)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions