Avatar
Avatar
Miwa / Ensan
@swift-5.8.1 -enable-upcoming-feature ExistentialAny protocol Foo {} struct A { var x: Foo var y: Codable var z: Error }
exit status: 1 with <stdin>:3:12: error: use of protocol 'Foo' as a type must be written 'any Foo' var x: Foo ^~~ any Foo