Chromium Code Reviews
DescriptionSupport for line-level error suppression (#25685).
Adds filtering logic to apply source-level error suppression using a simple comment convention. For example, suppressing an invalid assignment would look like this:
```
//# ignore: invalid_assignment
int x = '';
```
Lists are supported as well:
```
//# ignore: invalid_assignment, const_initialized_with_non_constant_value
const String y = x;
```
Conversation on final format continues (https://github.com/dart-lang/sdk/issues/25685), so this can be treated as provisional but proves out the mechanics. Comments and concerns most welcome.
BUG=
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/75b1379a0f659284dad268ec6a9d69e828fee9a3
Patch Set 1 #
Total comments: 8
Patch Set 2 : review nits #
Messages
Total messages: 6 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||