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

Unified Diff: test/dart_codegen/expect/c/c.dart

Issue 1052383003: Disable closure wrapping by default (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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/dart_codegen/expect/c/c.dart
diff --git a/test/dart_codegen/expect/c/c.dart b/test/dart_codegen/expect/c/c.dart
index 56cfbd9332054c0d80d3f2c1aecd1c33c2bb6fc7..285c58bfc64b51019647a2f77c634e8753837915 100644
--- a/test/dart_codegen/expect/c/c.dart
+++ b/test/dart_codegen/expect/c/c.dart
@@ -8,15 +8,10 @@ void bar() {
f3(((__x0) => DEVC$RT.cast(__x0, dynamic, DDC$a$.A, "DynamicCast",
"""line 10, column 6 of test/dart_codegen/types/c.dart: """,
__x0 is DDC$a$.A, true))(f4(3)));
- f1(DEVC$RT.wrap((dynamic f(dynamic __u2)) {
- dynamic c(dynamic x0) => ((__x1) => DEVC$RT.cast(__x1, dynamic, DDC$a$.A,
- "CastResult",
- """line 11, column 6 of test/dart_codegen/types/c.dart: """,
- __x1 is DDC$a$.A, true))(f(x0));
- return f == null ? null : c;
- }, f4, __t5, __t3, "Wrap",
- """line 11, column 6 of test/dart_codegen/types/c.dart: """, f4 is __t3));
+ f1(DEVC$RT.cast(f4, __t3, __t1, "CompositeCast",
+ """line 11, column 6 of test/dart_codegen/types/c.dart: """, f4 is __t1,
+ false));
f2(f3);
}
-typedef DDC$a$.A __t3(DDC$a$.A __u4);
-typedef dynamic __t5(dynamic __u6);
+typedef DDC$a$.A __t1(DDC$a$.A __u2);
+typedef dynamic __t3(dynamic __u4);

Powered by Google App Engine
This is Rietveld 408576698