File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,17 @@ extension String.UTF16View {
88
88
internal var _shortHeuristic : Int { return 32 }
89
89
}
90
90
91
- @inlinable @_transparent
91
+ @available ( * , unavailable)
92
+ @usableFromInline
92
93
internal func unimplemented_utf8_32bit(
93
94
_ message: String = " " ,
94
95
file: StaticString = #file, line: UInt = #line
95
96
) -> Never {
96
97
fatalError ( " 32-bit: Unimplemented for UTF-8 support " , file: file, line: line)
97
98
}
98
99
99
- @_transparent
100
- @inlinable
100
+ @available ( * , unavailable )
101
+ @usableFromInline
101
102
internal func _unsafePlus( _ lhs: Int , _ rhs: Int ) -> Int {
102
103
#if INTERNAL_CHECKS_ENABLED
103
104
return lhs + rhs
@@ -106,8 +107,8 @@ internal func _unsafePlus(_ lhs: Int, _ rhs: Int) -> Int {
106
107
#endif
107
108
}
108
109
109
- @_transparent
110
- @inlinable
110
+ @available ( * , unavailable )
111
+ @usableFromInline
111
112
internal func _unsafeMinus( _ lhs: Int , _ rhs: Int ) -> Int {
112
113
#if INTERNAL_CHECKS_ENABLED
113
114
return lhs - rhs
You can’t perform that action at this time.
0 commit comments