Avatar
Avatar
omochimetaru
@swift-5.10.1 @swift-6.0-dev @swift-main struct E: Error {} func foo() throws(E) -> {}
exit status: 1 with <stdin>:3:18: error: consecutive statements on a line must be separated by ';' func foo() throws(E) -> {} ^ ; <stdin>:3:6: error: expected '{' in body of function declaration func foo() throws(E) -> {} ^ <stdin>:3:25: error: expected type after '->' func foo() throws(E) -> {} ^