Skip to content

[1,1..0] /= [1,1..2]

I'm currently refactoring efdtIntFB into something that fuses better (#8763).

While testing my prototype, I noticed that in current base [1,1..x] for x < 1 has different behavior than I expected: [1,1..0] == []. In comparison, the x == 1 or > 1 case yields repeat 1.

Is this expected and/or specified somewhere? If so, I find this rather surprising.

Trac metadata
Trac field Value
Version 8.2.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information