Skip to content

[PARSE BUG]: Contract assertions #162

Description

@HaydenMichel8

Problem description

https://cppreference.com/cpp/language/contracts

C++26 feature so may not be a priority.

C++ code that can't be parsed correctly (please double-check that https://robotpy.github.io/cxxheaderparser/ has the same error)

int num = 0;
void f() pre((num++, false));
f();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions