Skip to content

Handling of the true expression is inconsistent #195

@stof

Description

@stof

👓 What did you see?

The shared test data has a parsing test for the empty expression, which is formatted as true.

As the formatted expression is meant to parsed as itself, it implies that true as expression should also be parsed into such true expression and not as a literal expression for the variable true, so that they are the same.

the shared test data does not cover the evaluation of those expressions.

✅ What did you expect to see?

true should probably become a special token producing the true expression. And tests should cover it.

📦 Which tool/library version are you using?

No response

🔬 How could we reproduce it?

No response

📚 Any additional context?

No response

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