@@ -32,15 +32,11 @@ internal final class _EmptyArrayStorage
32
32
return try body ( UnsafeBufferPointer ( start: nil , count: 0 ) )
33
33
}
34
34
35
- // FIXME(ABI)#26 (Type Checker): remove 'Void' arguments here and elsewhere in this file, they
36
- // are a workaround for an old compiler limitation.
37
- override func _getNonVerbatimBridgedCount( _ dummy: Void ) -> Int {
35
+ override func _getNonVerbatimBridgedCount( ) -> Int {
38
36
return 0
39
37
}
40
38
41
- override func _getNonVerbatimBridgedHeapBuffer(
42
- _ dummy: Void
43
- ) -> _HeapBuffer < Int , AnyObject > {
39
+ override func _getNonVerbatimBridgedHeapBuffer( ) -> _HeapBuffer < Int , AnyObject > {
44
40
return _HeapBuffer < Int , AnyObject > (
45
41
_HeapBufferStorage < Int , AnyObject > . self, 0 , 0 )
46
42
}
@@ -122,7 +118,7 @@ final class _ContiguousArrayStorage<Element> : _ContiguousArrayStorage1 {
122
118
/// Returns the number of elements in the array.
123
119
///
124
120
/// - Precondition: `Element` is bridged non-verbatim.
125
- override internal func _getNonVerbatimBridgedCount( _ dummy : Void ) -> Int {
121
+ override internal func _getNonVerbatimBridgedCount( ) -> Int {
126
122
_sanityCheck (
127
123
!_isBridgedVerbatimToObjectiveC( Element . self) ,
128
124
" Verbatim bridging should be handled separately " )
@@ -132,7 +128,7 @@ final class _ContiguousArrayStorage<Element> : _ContiguousArrayStorage1 {
132
128
/// Bridge array elements and return a new buffer that owns them.
133
129
///
134
130
/// - Precondition: `Element` is bridged non-verbatim.
135
- override internal func _getNonVerbatimBridgedHeapBuffer( _ dummy : Void ) ->
131
+ override internal func _getNonVerbatimBridgedHeapBuffer( ) ->
136
132
_HeapBuffer < Int , AnyObject > {
137
133
_sanityCheck (
138
134
!_isBridgedVerbatimToObjectiveC( Element . self) ,
0 commit comments