Skip to content

Commit 7dd52a2

Browse files
committed
Remove new symbol and add back old symbol
1 parent f9ebe85 commit 7dd52a2

File tree

5 files changed

+8
-23
lines changed

5 files changed

+8
-23
lines changed

stdlib/public/core/Algorithm.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,3 @@ extension EnumeratedSequence: Sequence {
158158
return Iterator(_base: _base.makeIterator())
159159
}
160160
}
161-
162-
@available(SwiftStdlib 5.11, *)
163-
public func hello() {}

stdlib/public/core/LegacyABI.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
// This file contains non-API (or underscored) declarations that are needed to
1414
// be kept around for ABI compatibility
1515

16-
// extension Unicode.UTF16 {
17-
// @available(*, unavailable, renamed: "Unicode.UTF16.isASCII")
18-
// @inlinable
19-
// public static func _isASCII(_ x: CodeUnit) -> Bool {
20-
// return Unicode.UTF16.isASCII(x)
21-
// }
22-
// }
16+
extension Unicode.UTF16 {
17+
@available(*, unavailable, renamed: "Unicode.UTF16.isASCII")
18+
@inlinable
19+
public static func _isASCII(_ x: CodeUnit) -> Bool {
20+
return Unicode.UTF16.isASCII(x)
21+
}
22+
}
2323

2424
@available(*, unavailable, renamed: "Unicode.UTF8.isASCII")
2525
@inlinable

test/abi/macOS/arm64/stdlib.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,4 @@ Added: _$ss19_getWeakRetainCountySuyXlF
4545
// Swift._getUnownedRetainCount(Swift.AnyObject) -> Swift.UInt
4646
Added: _$ss22_getUnownedRetainCountySuyXlF
4747

48-
// Swift.hello() -> ()
49-
Added: _$ss5helloyyF
50-
51-
// static Swift.Unicode.UTF16._isASCII(Swift.UInt16) -> Swift.Bool
52-
Removed: _$ss7UnicodeO5UTF16O8_isASCIIySbs6UInt16VFZ
53-
5448
// Runtime Symbols

test/abi/macOS/x86_64/stdlib.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,4 @@ Added: _$ss19_getWeakRetainCountySuyXlF
4545
// Swift._getUnownedRetainCount(Swift.AnyObject) -> Swift.UInt
4646
Added: _$ss22_getUnownedRetainCountySuyXlF
4747

48-
// Swift.hello() -> ()
49-
Added: _$ss5helloyyF
50-
51-
// static Swift.Unicode.UTF16._isASCII(Swift.UInt16) -> Swift.Bool
52-
Removed: _$ss7UnicodeO5UTF16O8_isASCIIySbs6UInt16VFZ
53-
5448
// Runtime Symbols

utils/swift-abi-symbol-checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def main(arguments):
8787

8888
parser.add_argument('changes', help='the changes file')
8989
parser.add_argument('symbols', help='the symbols file')
90-
parser.add_argument('--base', help='the base changes file')
90+
parser.add_argument('--base', help='the base changes file')
9191

9292
args = parser.parse_args(arguments)
9393

0 commit comments

Comments
 (0)