File tree Expand file tree Collapse file tree
AWSAppSyncClient/Apollo/Sources/Apollo Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- extension Dictionary {
2- subscript( key: Key , withDefault value: @autoclosure ( ) -> Value ) -> Value {
3- mutating get {
4- if self [ key] == nil {
5- self [ key] = value ( )
6- }
7- return self [ key] !
8- }
9- set {
10- self [ key] = newValue
11- }
12- }
13- }
14-
151public extension Dictionary {
162 static func += ( lhs: inout Dictionary , rhs: Dictionary ) {
173 #if swift(>=3.2)
@@ -58,7 +44,7 @@ extension GroupedSequence: Sequence {
5844struct GroupedSequenceIterator < Key: Equatable , Value> : IteratorProtocol {
5945 private var base : GroupedSequence < Key , Value >
6046
61- private var keyIterator : EnumeratedIterator < IndexingIterator < Array < Key > > >
47+ private var keyIterator : EnumeratedSequence < Array < Key > > . Iterator
6248
6349 init ( base: GroupedSequence < Key , Value > ) {
6450 self . base = base
You can’t perform that action at this time.
0 commit comments