Skip to content

Trap: ugly error message #512

Open
Open

Description

@h0nzZik

Executing the program

int main() {
    int x;
    int y = x;
}

results in the error message:

Fatal error: exception Invalid_argument("mismatched constructor at top of split configuration: inRangeCpp(trap(.KList), tcpp(quals(`.Set`(.KList)), `.Set`(.KList), `int_CPP-TYPING-SYNTAX`(.KList)))")
[Error] Critical: Failed to execute program in ocaml. See output for error
information.

If the program is well-defined, there should be no error message. If it is undefined, it should say so.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions