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

Unified Diff: pkg/front_end/testcases/inference/subexpressions_of_explicitly_typed_fields.dart.strong.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.strong.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.strong.expect
similarity index 65%
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.strong.expect
index 74e45c59810a4dd07620e7ab2552e683fc3242f5..267f8bc9bf4fc9b76d07d1b111f13b83077a9056 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.strong.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 = <core::num>[0];
constructor •() → void
: super core::Object::•()
;
}
+static field core::List<core::num> y = <core::num>[0];
static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698