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

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

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. Created 3 years, 5 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/downward_inference_miscellaneous.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/downward_inference_miscellaneous.dart.direct.expect b/pkg/front_end/testcases/inference/downward_inference_miscellaneous.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..3fbf5b64f094f63f95c50d549413588bff377092
--- /dev/null
+++ b/pkg/front_end/testcases/inference/downward_inference_miscellaneous.dart.direct.expect
@@ -0,0 +1,25 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+typedef Function2<S extends core::Object, T extends core::Object> = (S) → T;
+class A<T extends core::Object> extends core::Object {
+ field (self::A::T) → self::A::T x;
+ constructor •((self::A::T) → self::A::T x) → void
+ : self::A::x = x, super core::Object::•()
+ ;
+}
+static method main() → void {
+ {
+ dynamic x = "hello";
+ dynamic y = 3;
+ function f(core::List<core::Map<core::int, core::String>> l) → void {}
+ ;
+ f.call(<dynamic>[<dynamic, dynamic>{y: x}]);
+ }
+ {
+ function f(core::int x) → core::int
+ return 0;
+ self::A<core::int> a = new self::A::•<dynamic>(f);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698