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

Unified Diff: pkg/front_end/testcases/override.dart.direct.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
Index: pkg/front_end/testcases/override.dart.direct.expect
diff --git a/pkg/front_end/testcases/override.dart.direct.expect b/pkg/front_end/testcases/override.dart.direct.expect
index c46b18731a3fa6c91377127868a5d49ec616c2c5..0ee99b96455a08cf43852885ef409ed1e3b52340 100644
--- a/pkg/front_end/testcases/override.dart.direct.expect
+++ b/pkg/front_end/testcases/override.dart.direct.expect
@@ -29,7 +29,7 @@ class Sub extends self::Base {
}
}
static method main(core::List<core::String> args) → dynamic {
- dynamic object = args.length.==(0) ? new self::Base::•() : new self::Sub::•();
+ dynamic object = args.length.==(0) ?{self::Base} new self::Base::•() : new self::Sub::•();
dynamic a = object.method();
core::print(a);
}
« no previous file with comments | « pkg/front_end/testcases/optional.dart.strong.expect ('k') | pkg/front_end/testcases/override.dart.strong.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698