All, Why does swift fails to fully implement UInt in any object, arrays, sequence, range, etc
Initializer for Range, from "http://swiftdoc.org/v3.1/type/Range/" For example, passing a closed range with an upper bound of Int.max triggers a runtime error, because the resulting half-open range would require an upper bound of Int.max + 1, which is not representable as an Int. So any algorithm that needs large arrays such that, UInt64.max > index > Int64 too bad?
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution