Inconsistent trapping for Bit


(Patrick Pijnappel) #1

Swift.Bit traps for Bit.One.successor(), but not for Bit.One.advancedBy(1).

The documentation suggest they should be equivalent.


(Maxim Moiseev) #2

Mind filing a but at bugs.swift.org <http://bugs.swift.org/>?

Is is the documentation on one of Index protocol you are referring to?

max

ยทยทยท

On Dec 8, 2015, at 7:31 PM, Patrick Pijnappel via swift-dev <swift-dev@swift.org> wrote:

Swift.Bit traps for Bit.One.successor(), but not for Bit.One.advancedBy(1).

The documentation suggest they should be equivalent.
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev