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

Unified Diff: pkg/front_end/testcases/escape.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/escape.dart.direct.expect
diff --git a/pkg/front_end/testcases/escape.dart.direct.expect b/pkg/front_end/testcases/escape.dart.direct.expect
index ff2fc4e1fdeb2af31089f56991b2c53ef521e829..23706906e37f8343f61ef2e7e63d32adeabff9f9 100644
--- a/pkg/front_end/testcases/escape.dart.direct.expect
+++ b/pkg/front_end/testcases/escape.dart.direct.expect
@@ -35,8 +35,8 @@ static method useAsB(self::B object) → void {
self::escape(object);
}
static method escape(dynamic x) → void {
- x.==(null) ?{dynamic} x = "" : null;
- x.==(null) ?{dynamic} x = 45 : null;
+ x.==(null) ? x = "" : null;
+ x.==(null) ? x = 45 : null;
if(!(x is core::int) && !(x is core::String)) {
x.field = 45;
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart ('k') | pkg/front_end/testcases/expressions.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698