You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case(letdouble as Double,.roundingAnyNumber),(letdouble as Double,.adaptive):
141
+
guard
142
+
double >=Double(I.min),
143
+
double <=Double(I.max)
144
+
else{
145
+
throwDecodingError.typeMismatch(Double.self,.init(codingPath:[], debugDescription:"The IntegerDecodingStrategy is adaptive, but the Double could not be converted to \(I.self)"))
case(.int64,letint as Int),(.adaptive,letint as Int),(.anyInteger,letint as Int),(.roundingAnyNumber,letint as Int):
178
185
returntry int.convert(to:I.self)
179
186
case(.roundingAnyNumber,letdouble as Double),(.adaptive,letdouble as Double):
187
+
guard
188
+
double >=Double(I.min),
189
+
double <=Double(I.max)
190
+
else{
191
+
throwDecodingError.typeMismatch(Double.self,.init(codingPath:[], debugDescription:"The IntegerDecodingStrategy is adaptive, but the Double could not be converted to \(I.self)"))
0 commit comments