Avatar
Avatar
Iceman
@swift-6.0.3 protocol P { var aa: Int { get throws<any Error> } }
exit status: 1 with <stdin>:3:15: error: expected get or set in a protocol property 1 | protocol P { 2 | var aa: Int { 3 | get throws<any Error> | `- error: expected get or set in a protocol property 4 | } 5 | }