Skip to content

Math comparison operators don't combine if different #347

@LeaVerou

Description

@LeaVerou

I.e. while 1 < 2 < 3 is correctly interpreted as 1 < 2 and 2 < 3, this does not happen with -3 <= -3 < 1 which returns false, since it's interpreted as (-3 <= -3) < 1 => true < 1 => 1 < 1 = false

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions