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

Unified Diff: pkg/analyzer_cli/test/data/file_with_assert_initializers.dart

Issue 2809793004: CLI support for `enableAssertInitializer`s. (Closed)
Patch Set: options fix Created 3 years, 8 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 | « pkg/analyzer_cli/lib/src/options.dart ('k') | pkg/analyzer_cli/test/driver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/test/data/file_with_assert_initializers.dart
diff --git a/pkg/analyzer_cli/test/data/file_with_assert_initializers.dart b/pkg/analyzer_cli/test/data/file_with_assert_initializers.dart
new file mode 100644
index 0000000000000000000000000000000000000000..46b7c0c5873637dfb49ffdecc7c4b3fdb427f1af
--- /dev/null
+++ b/pkg/analyzer_cli/test/data/file_with_assert_initializers.dart
@@ -0,0 +1,7 @@
+class C {
+ int _x, _y;
+ C(x, y)
+ : _x = x,
+ assert (x < y),
+ _y = y;
+}
« no previous file with comments | « pkg/analyzer_cli/lib/src/options.dart ('k') | pkg/analyzer_cli/test/driver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698