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

Unified Diff: pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart.direct.expect

Issue 2905123002: Perform type inference on explicitly typed fields. (Closed)
Patch Set: Created 3 years, 7 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/inference/subexpressions_of_explicitly_typed_fields.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/inferred_type_via_closure_type_independent_of_args_field.dart.strong.expect b/pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart.direct.expect
similarity index 66%
copy from pkg/front_end/testcases/inference/inferred_type_via_closure_type_independent_of_args_field.dart.strong.expect
copy to pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart.direct.expect
index 74e45c59810a4dd07620e7ab2552e683fc3242f5..f1293b6731e8ba2070f2f70afb18bd63611779bb 100644
--- a/pkg/front_end/testcases/inference/inferred_type_via_closure_type_independent_of_args_field.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart.direct.expect
@@ -3,9 +3,10 @@ import self as self;
import "dart:core" as core;
class C extends core::Object {
- static final field (core::bool) → core::int f = (core::bool b) → dynamic => 1;
+ field core::List<core::num> x = <dynamic>[0];
constructor •() → void
: super core::Object::•()
;
}
+static field core::List<core::num> y = <dynamic>[0];
static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698