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

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

Issue 2883533002: Update expectations files to get more strong mode inference tests to pass. (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/infer_generic_method_type_required.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect b/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart.strong.expect
similarity index 50%
copy from pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect
copy to pkg/front_end/testcases/inference/infer_generic_method_type_required.dart.strong.expect
index 72c646a47054cc0bb3e94ab8bb576e3f95196f75..fac3efef04f8ba7314e657cbd5e8e0bbf53a8c54 100644
--- a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart.strong.expect
@@ -2,13 +2,13 @@ library test;
import self as self;
import "dart:core" as core;
-class Foo<T extends core::Pattern> extends core::Object {
+class C extends core::Object {
constructor •() → void
: super core::Object::•()
;
- method method(self::Foo::T u) → self::Foo::T
- return u;
+ method m(dynamic x) → dynamic
+ return x;
}
static method main() → dynamic {
- new self::Foo::•<core::String>().method(42);
+ core::int y = new self::C::•().{self::C::m}(42);
}

Powered by Google App Engine
This is Rietveld 408576698