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

Unified Diff: pkg/front_end/testcases/inference/local_constructor_from_arguments.dart.strong.expect

Issue 2908453002: Infer the types of initializing formals from the corresponding 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/local_constructor_from_arguments.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/local_constructor_from_arguments.dart.strong.expect b/pkg/front_end/testcases/inference/local_constructor_from_arguments.dart.strong.expect
index 5bea129865b4bbd1c3589b02e025898a681fe0ed..bad4f72bfaa941018fa9b6ceeea85cb57a178c73 100644
--- a/pkg/front_end/testcases/inference/local_constructor_from_arguments.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/local_constructor_from_arguments.dart.strong.expect
@@ -4,14 +4,14 @@ import "dart:core" as core;
class C<T extends core::Object> extends core::Object {
field self::C::T t;
- constructor •(dynamic t) → void
+ constructor •(self::C::T t) → void
: self::C::t = t, super core::Object::•()
;
}
static method main() → dynamic {
- dynamic x = new self::C::•<dynamic>(42);
+ self::C<core::int> x = new self::C::•<core::int>(42);
core::num y;
- self::C<core::int> c_int = new self::C::•<dynamic>(y);
- self::C<core::num> c_num = new self::C::•<dynamic>(123);
- dynamic c_dynamic = new self::C::•<dynamic>(42);
+ self::C<core::int> c_int = new self::C::•<core::int>(y);
+ self::C<core::num> c_num = new self::C::•<core::num>(123);
+ self::C<dynamic> c_dynamic = new self::C::•<dynamic>(42);
}

Powered by Google App Engine
This is Rietveld 408576698