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

Unified Diff: pkg/front_end/testcases/override.dart.direct.expect

Issue 2953503002: Only set types of conditional expressions in strong mode. (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 0ee99b96455a08cf43852885ef409ed1e3b52340..c46b18731a3fa6c91377127868a5d49ec616c2c5 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) ?{self::Base} new self::Base::•() : new self::Sub::•();
+ dynamic object = args.length.==(0) ? new self::Base::•() : new self::Sub::•();
dynamic a = object.method();
core::print(a);
}

Powered by Google App Engine
This is Rietveld 408576698