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

Unified Diff: pkg/kernel/testcases/closures/type_variables.dart.expect

Issue 2712473003: closure conversion: Support closures in initializers (Closed)
Patch Set: Address comments Created 3 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
« no previous file with comments | « pkg/kernel/testcases/closures/closure_in_initializer_closure.dart.expect ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/testcases/closures/type_variables.dart.expect
diff --git a/pkg/kernel/testcases/closures/type_variables.dart.expect b/pkg/kernel/testcases/closures/type_variables.dart.expect
index 0939dadaad9f2b973e286a1161facb2ad366ec62..b58d4db252fe95f979b21becd0efd3a93e5de9b8 100644
--- a/pkg/kernel/testcases/closures/type_variables.dart.expect
+++ b/pkg/kernel/testcases/closures/type_variables.dart.expect
@@ -13,6 +13,9 @@ class C<T extends core::Object, S extends core::Object> extends core::Object {
#context.[]=(0, this);
return new self::Closure#C#foo#function::•<self::C::T, self::C::S>(#context);
}
+ method bar() → dynamic {
+ self::C<self::C::T, self::C::S> self = this;
+ }
method baz() → dynamic {
return new self::Closure#C#baz#function::•<self::C::T, self::C::S>(null);
}
« no previous file with comments | « pkg/kernel/testcases/closures/closure_in_initializer_closure.dart.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698