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

Unified Diff: test/dart_codegen/expect/d/d.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/d/d.dart
diff --git a/test/dart_codegen/expect/d/d.dart b/test/dart_codegen/expect/d/d.dart
index 54660230ca7ad76ef502ed2fe93f24e4fddf7fe7..6aff212dcf06558652feb4193954e019138b12ba 100644
--- a/test/dart_codegen/expect/d/d.dart
+++ b/test/dart_codegen/expect/d/d.dart
@@ -8,16 +8,10 @@ void foo() {
var x = f3(((__x0) => DEVC$RT.cast(__x0, dynamic, DDC$a$.A, "DynamicCast",
"""line 10, column 14 of test/dart_codegen/types/d.dart: """,
__x0 is DDC$a$.A, true))(f4("""hello""")));
- var y = 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 14 of test/dart_codegen/types/d.dart: """,
- __x1 is DDC$a$.A, true))(f(x0));
- return f == null ? null : c;
- }, f4, __t5, __t3, "Wrap",
- """line 11, column 14 of test/dart_codegen/types/d.dart: """,
- f4 is __t3));
+ var y = f1(DEVC$RT.cast(f4, __t3, __t1, "CompositeCast",
+ """line 11, column 14 of test/dart_codegen/types/d.dart: """, f4 is __t1,
+ false));
var z = 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