Commit b2fee98
[messages] Improve error reporting when reading messages.yaml files.
Changes the format of the exceptions thrown by
`decodeCfeStyleMessagesYaml` so that if a problem occurs while reading
`pkg/front_end/messages.yaml` or
`pkg/_fe_analyzer_shared/messages.yaml`, the path to the file with the
problem is reported.
Change-Id: I6a6a69648b6d59cefa3f7582b3c6d13b7c8a523c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/449924
Commit-Queue: Paul Berry <[email protected]>
Reviewed-by: Johnni Winther <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>1 parent a3bd2ad commit b2fee98
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| |||
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
125 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
126 | 134 | | |
127 | 135 | | |
128 | 136 | | |
| |||
0 commit comments