Commit 7b2df64
[messages] Mark some messages as "pseudoShared".
A `pseudoShared` message is a front-end message that is generated by
code in the `_fe_analyzer_shared` package, and has a corresponding
analyzer message, but the error messages are not truly shared; the
analyzer message may have different text or parameters.
In the long term I plan to fully share all of these messages. However,
in the short term, this will allow the logic for front end error code
generation to be cleaned up, so that only messages that are truly
shared, or truly needed by `package:_fe_analyzer_shared` are emitted
to `pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart`.
Change-Id: I6a6a6964bbb146afd41c39ab73b4bc8bbcc5b81c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/449607
Reviewed-by: Johnni Winther <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent b04639b commit 7b2df64
File tree
3 files changed
+93
-1
lines changed- pkg
- analyzer_utilities/lib
- front_end
- test
3 files changed
+93
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
800 | 803 | | |
801 | 804 | | |
802 | 805 | | |
803 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
804 | 821 | | |
805 | 822 | | |
806 | 823 | | |
| |||
0 commit comments