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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.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/constructors_infer_from_arguments_factory.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.dart.direct.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..3a869f242b94780f6cf129f9bb672cb7303b58cb
--- /dev/null
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory.dart.direct.expect
@@ -0,0 +1,19 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class C<T extends core::Object> extends core::Object {
+ field self::C::T t = null;
+ constructor _() → void
+ : super core::Object::•()
+ ;
+ static factory •<T extends core::Object>(self::C::•::T t) → self::C<self::C::•::T> {
+ dynamic x = new self::C::_<self::C::•::T>();
+ x.t = t;
+ return x;
+ }
+}
+static method main() → dynamic {
+ dynamic x = self::C::•<dynamic>(42);
+ x.t = "hello";
+}

Powered by Google App Engine
This is Rietveld 408576698