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

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

Issue 2920223008: Record method invocation targets that are not procedures. (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/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect b/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..44cfb1db7b01674f59de85194cf1e3516968f06a
--- /dev/null
+++ b/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect
@@ -0,0 +1,61 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+typedef Asserter = <T extends core::Object>(T) → void;
+typedef AsserterBuilder = <S extends core::Object, T extends core::Object>(S) → (T) → void;
+class DartType extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+abstract class C extends core::Object {
+ static field (core::List<(self::DartType) → void>) → (self::DartType) → void assertBOf = null;
+ field (core::List<(self::DartType) → void>) → (self::DartType) → void assertAOf = null;
+ constructor •() → void
+ : super core::Object::•()
+ ;
+ static get assertCOf() → (core::List<(self::DartType) → void>) → (self::DartType) → void
+ return null;
+ abstract get assertDOf() → (core::List<(self::DartType) → void>) → (self::DartType) → void;
+ method method((core::List<(self::DartType) → void>) → (self::DartType) → void assertEOf) → dynamic {
+ this.assertAOf(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ self::C::assertBOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ self::C::assertCOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ this.{self::C::assertDOf}(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ assertEOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ }
+}
+abstract class G<T extends core::Object> extends core::Object {
+ field (core::List<(self::DartType) → void>) → (self::DartType) → void assertAOf = null;
+ constructor •() → void
+ : super core::Object::•()
+ ;
+ abstract get assertDOf() → (core::List<(self::DartType) → void>) → (self::DartType) → void;
+ method method((core::List<(self::DartType) → void>) → (self::DartType) → void assertEOf) → dynamic {
+ this.assertAOf(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ this.assertAOf(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ this.{self::G::assertDOf}(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ assertEOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ }
+}
+static field (self::DartType) → void _isInt;
+static field (self::DartType) → void _isString;
+static field (core::List<(self::DartType) → void>) → (self::DartType) → void assertBOf;
+static get assertCOf() → (core::List<(self::DartType) → void>) → (self::DartType) → void
+ return null;
+static method test() → dynamic {
+ (core::List<(self::DartType) → void>) → (self::DartType) → void assertAOf;
+ assertAOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ self::assertBOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ self::assertCOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ self::C::assertBOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ self::C::assertCOf.call(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ self::C c;
+ c.assertAOf(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ c.{self::C::assertDOf}(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ self::G<core::int> g;
+ g.assertAOf(<(self::DartType) → void>[self::_isInt, self::_isString]);
+ g.{self::G::assertDOf}(<(self::DartType) → void>[self::_isInt, self::_isString]);
+}
+static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698