Skip to content

[Diagnostics] NFC: Adjust en.yaml to mirror diagnostics in .def f… #33317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions localization/diagnostics/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@
msg: >-
unrecognized accessor kind '%0' in SDK node

- id: pound_source_location_creates_pound_file_conflicts
- id: source_location_creates_file_id_conflicts
msg: >-
'#sourceLocation' directive produces '#file' string of '%0', which
conflicts with '#file' strings produced by other paths in the module
'#sourceLocation' directive produces '#fileID' string of '%0', which
conflicts with '#fileID' strings produced by other paths in the module

- id: fixit_correct_source_location_file
msg: >-
Expand Down Expand Up @@ -1343,13 +1343,9 @@
only function declarations may be marked 'rethrows'; did you mean
'throws'?

- id: throws_in_wrong_position
- id: async_or_throws_in_wrong_position
msg: >-
'throws' may only occur before '->'

- id: rethrows_in_wrong_position
msg: >-
'rethrows' may only occur before '->'
%select{'throws'|'rethrows'|'async'}0 may only occur before '->'

- id: throw_in_function_type
msg: >-
Expand Down Expand Up @@ -7132,14 +7128,6 @@
%0 is not a 'func', 'init', 'subscript', or 'var' computed property
declaration

- id: autodiff_attr_accessor_not_found
msg: >-
%0 does not have a '%1' accessor

- id: autodiff_attr_original_decl_none_valid_found
msg: >-
could not find function %0 with expected type %1

- id: autodiff_attr_original_decl_not_same_type_context
msg: >-
%0 is not defined in the current type context
Expand Down