We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fc134f commit 42e8491Copy full SHA for 42e8491
stdlib/public/core/Integers.swift.gyb
@@ -1888,6 +1888,13 @@ extension BinaryInteger {
1888
#endif
1889
1890
extension BinaryInteger {
1891
+ // FIXME(integers): Should be removed once words get implemented properly.
1892
+ // Meanhile it allows to conform to the BinaryInteger without implementing
1893
+ // underscored APIs. https://bugs.swift.org/browse/SR-5275
1894
+ public func _word(at n: Int) -> UInt {
1895
+ fatalError("Should be overridden")
1896
+ }
1897
+
1898
// FIXME(integers): inefficient. Should get rid of _word(at:) and
1899
// countRepresentedWords, and make `words` the basic operation.
1900
public var words: [UInt] {
0 commit comments