When writing 1 + 2..5, this seems to be interpreted as (1 + 2)..5 and not 1 + (2..5), which is what I’d have expected.
I believe that this is inconsistent with anthem’s output, which might incorrectly print (1 + 2)..5) as (1 + 2..5).
When writing `1 + 2..5`, this seems to be interpreted as `(1 + 2)..5` and not `1 + (2..5)`, which is what I’d have expected.
I believe that this is inconsistent with anthem’s output, which might incorrectly print `(1 + 2)..5)` as `(1 + 2..5)`.
patrick
added this to the anthem 0.1.9 milestone 2018-05-02 18:18:39 +02:00
patrick
self-assigned this 2018-05-02 18:18:39 +02:00
patrick
added the bug label 2018-05-02 18:18:39 +02:00
patrick
changed title from Verify interval operator precedence to Verify interval operator precedence in output2018-05-02 18:18:53 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When writing
1 + 2..5, this seems to be interpreted as(1 + 2)..5and not1 + (2..5), which is what I’d have expected.I believe that this is inconsistent with anthem’s output, which might incorrectly print
(1 + 2)..5)as(1 + 2..5).Verify interval operator precedenceto Verify interval operator precedence in outputFixed by 1f7f6a02b429ac72bde28418a7ea15465bb0c0e7.