Skip to content

Commit 9cb793c

Browse files
committed
stdlib: Remove redundant initializers, NFC
Sema can synthesize these for us now.
1 parent 0ff0f3c commit 9cb793c

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

stdlib/public/core/ExistentialCollection.swift.gyb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -286,24 +286,7 @@ internal class _AnyRandomAccessCollectionBox<Element>
286286
internal func _index(before i: _AnyIndexBox) -> _AnyIndexBox { _abstract() }
287287
internal func _formIndex(before i: _AnyIndexBox) { _abstract() }
288288
internal var _last: Element? { _abstract() }
289-
290-
internal override init(
291-
_startIndex: _AnyIndexBox,
292-
endIndex: _AnyIndexBox
293-
) {
294-
super.init(_startIndex: _startIndex, endIndex: endIndex)
295-
}
296-
% end
297-
298-
% if Kind == 'RandomAccessCollection':
299-
internal override init(
300-
_startIndex: _AnyIndexBox,
301-
endIndex: _AnyIndexBox
302-
) {
303-
super.init(_startIndex: _startIndex, endIndex: endIndex)
304-
}
305289
% end
306-
307290
}
308291
% end
309292

0 commit comments

Comments
 (0)