VasilyKrainov
VasilyKrainov
This code makes the exception: ``` let str = "10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" let data = str.data(using: .utf8)! let decoder = CleanJSONDecoder() do { let value = try decoder.decode(Double.self, from: data) print("OK =...
При наличии нескольких одинаковых `register` `resolve` падает с критической ошибкой: ``` protocol P { } class C: P { } container.register(C.init).as(P.self).lifetime(.single) // 1 container.register(C.init).as(P.self).lifetime(.single) // 2 let obj: C =...
This code makes the exception: ``` struct Response: Codable { let success: Bool let value: Double } func testJASON() { let string: String = """ {"success":true,"value":100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000≥0} """ let data =...