Skip to content

Commit 8e73c16

Browse files
committed
[Parse] Fix a typo in the new parser diagnostics
1 parent b91328c commit 8e73c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Parse/new_parser_diagnostics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
// REQUIRES: asserts
66

77
_ = [(Int) -> async throws Int]()
8-
// expected-error@-1{{'async throws' must preceed '->'}}
8+
// expected-error@-1{{'async throws' must precede '->'}}
99
// expected-note@-2{{move 'async throws' in front of '->'}}{{15-21=}} {{21-28=}} {{20-21= }} {{12-12=async }} {{12-12=throws }}

0 commit comments

Comments
 (0)