Skip to content

don't short-circuit chained comparisons #16088

@StefanKarpinski

Description

@StefanKarpinski

It's harder to lower, more surprising and usually less efficient. We should just lower a < b < c to (a < b) & (b < c).

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis change will break codecompiler:loweringSyntax lowering (compiler front end, 2nd stage)good first issueIndicates a good issue for first-time contributors to Juliahelp wantedIndicates that a maintainer wants help on an issue or pull requestneeds decisionA decision on this change is neededspeculativeWhether the change will be implemented is speculative

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions