Skip to content

Strict comparison operators should have lower precedence than ordered comparison operators #29

Closed

Description

@thejoshwolfe

a < b == c < d should be parsed as (a < b) == (c < d).

This should be a compile error: a == b == c also a != b != a. Simply use parenthesis if you want this kind of thing.

Activity

  1. added
    enhancement
    on Dec 12, 2015
  2. changed the title [-]Equality operator should have lower precedence than less than[/-] [+]Strict comparison operators should have lower precedence than ordered comparison operators[/+] on Dec 13, 2015
  3. added this to the 0.1.0 milestone on Apr 25, 2016
  4. thejoshwolfe commented on Apr 25, 2017

    @thejoshwolfe
    SponsorContributorAuthor

    retracting this idea in favor of #114.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions