Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 1738203002: Prettify ignore syntax (#25685). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/error_suppression_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/dart.dart
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
index d21914cb85c2c5d52f7059e8a606fbcfba664308..4c99474b58b4c133dbd1bfa1e90ba88397bc35c1 100644
--- a/pkg/analyzer/lib/src/task/dart.dart
+++ b/pkg/analyzer/lib/src/task/dart.dart
@@ -2266,7 +2266,7 @@ class DartErrorsTask extends SourceBasedAnalysisTask {
static const String PARSED_UNIT_INPUT = 'PARSED_UNIT_INPUT';
// Prefix for comments ignoring error codes.
- static const String _normalizedIgnorePrefix = '//#ignore:';
+ static const String _normalizedIgnorePrefix = '//ignore:';
Hixie 2016/02/26 18:09:48 Can we have a space after the "//"?
pquitslund 2016/02/26 18:14:54 Yep. Any number of spaces. We remove them before
DartErrorsTask(InternalAnalysisContext context, AnalysisTarget target)
: super(context, target);
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/error_suppression_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698