Skip to content

1 - 2 + 3 = -4 : problem with substraction/addition precedence #8568

@Astating

Description

@Astating

I'd expect 1 - 2 + 3 to be 2

But it seems roc is computing the addition first and only then the substraction.

Roc compiler version debug-f52697a7

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-mediumMedium priority/frequencybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions