We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0d7c6 commit 6a7cf59Copy full SHA for 6a7cf59
Sources/ComplexModule/Complex+Codable.swift
@@ -12,6 +12,7 @@
12
import RealModule
13
14
// FloatingPoint does not refine Codable, so this is a conditional conformance.
15
+@_unavailableInEmbedded
16
extension Complex: Decodable where RealType: Decodable {
17
public init(from decoder: Decoder) throws {
18
var unkeyedContainer = try decoder.unkeyedContainer()
@@ -21,6 +22,7 @@ extension Complex: Decodable where RealType: Decodable {
21
22
}
23
24
25
26
extension Complex: Encodable where RealType: Encodable {
27
public func encode(to encoder: Encoder) throws {
28
var unkeyedContainer = encoder.unkeyedContainer()
0 commit comments