Commit 8b98f2b
[analyzer] Fix messages.yaml parameter documentation.
Fixes the documentatino in messages.yaml to account for the fact that:
- A `parameters:` entry is now required.
- At the time an error is reported, arguments can be supplied using a
`withArguments` method. This approach allows for compile-time
checking of the type and number of arguments.
Change-Id: I6a6a69649e765d9894bb78456f53506c0570e1e6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/448238
Reviewed-by: Brian Wilkerson <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent 7edd29a commit 8b98f2b
1 file changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
0 commit comments