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

Unified Diff: test/_data/synthetic/synthetic.dart

Issue 1754813003: Suppress lints on synthetic nodes/tokens (#193). (Closed) Base URL: https://github.com/dart-lang/linter.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
Index: test/_data/synthetic/synthetic.dart
diff --git a/test/_data/synthetic/synthetic.dart b/test/_data/synthetic/synthetic.dart
new file mode 100644
index 0000000000000000000000000000000000000000..31c60cd004112854568cc3739ea6c3797a6ae221
--- /dev/null
+++ b/test/_data/synthetic/synthetic.dart
@@ -0,0 +1,5 @@
+// Verifies that synthetic nodes don't get lints.
+// `XXX` below is synthetic
Brian Wilkerson 2016/03/01 21:26:54 That can't be true because synthetic tokens are al
pquitslund 2016/03/01 21:30:01 You're right! I just figured that out myself (see
+// See: https://github.com/dart-lang/linter/issues/193
+void main() { }
+XXX
« lib/src/linter.dart ('K') | « lib/src/linter.dart ('k') | test/rule_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698