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

Unified Diff: test/codegen/cascade.dart

Issue 1062823004: Fix a couple codegen crashers (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments Created 5 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 | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/cascade.dart
diff --git a/test/codegen/cascade.dart b/test/codegen/cascade.dart
index f0b310863819fcf96e31b232c3d074a7a9af70bc..786c88a0f6da3a8c622048177fc4e0739f4ac1ff 100644
--- a/test/codegen/cascade.dart
+++ b/test/codegen/cascade.dart
@@ -69,6 +69,13 @@ void test_VariableDeclaration_first() {
print(a);
}
+void test_increment() {
+ var a = new A();
+ var y = a
+ ..x += 1
+ ..x -= 1;
+}
+
class Base<T> {
final List<T> x = <T>[];
}
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698