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

Unified Diff: pkg/front_end/testcases/void-methods.dart.strong.expect

Issue 2949753002: Print static types of conditional expressions. (Closed)
Patch Set: Created 3 years, 6 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/front_end/testcases/void-methods.dart.direct.expect ('k') | pkg/kernel/lib/text/ast_to_text.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/void-methods.dart.strong.expect
diff --git a/pkg/front_end/testcases/void-methods.dart.strong.expect b/pkg/front_end/testcases/void-methods.dart.strong.expect
index d9c712d0e5528d647d3ad274c3381f33ec087fd8..cd527638a7b3f243945d382dc80ac0b08dd14585 100644
--- a/pkg/front_end/testcases/void-methods.dart.strong.expect
+++ b/pkg/front_end/testcases/void-methods.dart.strong.expect
@@ -7,12 +7,12 @@ class Foo extends core::Object {
constructor •() → void
: super core::Object::•()
;
- set first(dynamic x) → void
- this.{self::Foo::list}.{core::List::[]=$cc}(0, x);
+ set first(dynamic x) → dynamic
+ return let final dynamic #t1 = this.{self::Foo::list} in let final dynamic #t2 = 0 in let final dynamic #t3 = x in let final dynamic #t4 = #t1.{core::List::[]=}(#t2, #t3) in #t3;
operator []=(dynamic x, dynamic y) → dynamic
- this.{self::Foo::list}.{core::List::[]=$cc}(x as core::int, y);
+ return let final dynamic #t5 = this.{self::Foo::list} in let final dynamic #t6 = x in let final dynamic #t7 = y in let final dynamic #t8 = #t5.{core::List::[]=}(#t6, #t7) in #t7;
method clear() → void
- this.{self::Foo::list}.{core::List::clear}();
+ return this.{self::Foo::list}.{core::List::clear}();
}
static method main() → dynamic {
new self::Foo::•().{self::Foo::first} = 4;
« no previous file with comments | « pkg/front_end/testcases/void-methods.dart.direct.expect ('k') | pkg/kernel/lib/text/ast_to_text.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698