Avatar
おや
2:12 AM
The implementation of a function returning an opaque type must return a value of the same concrete type T from each return statement, and T must meet all of the constraints stated on the opaque type.
(edited)
2:13 AM
そもそも↓がエラーになりそう。 func foo1() -> some Foo { return Foo1() } func foo2() -> some Foo { return Foo2() }