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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_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_redirecting_factory.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart.direct.expect b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..25143c34d1db7eeb0685c624d1fe7281b587b28e
--- /dev/null
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart.direct.expect
@@ -0,0 +1,20 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+abstract class C<T extends core::Object> extends core::Object {
+ static field dynamic _redirecting# = <dynamic>[self::C::•];
+ abstract get t() → self::C::T;
+ abstract set t(self::C::T x) → void;
+ static factory •<T extends core::Object>(self::C::•::T t) → self::C<self::C::•::T>
+ let dynamic #redirecting_factory = self::CImpl::• in invalid-expression;
+}
+class CImpl<T extends core::Object> extends core::Object implements self::C<self::CImpl::T> {
+ field self::CImpl::T t;
+ constructor •(self::CImpl::T t) → void
+ : self::CImpl::t = t, super core::Object::•()
+ ;
+}
+static method main() → dynamic {
+ dynamic x = new self::CImpl::•<dynamic>(42);
+}

Powered by Google App Engine
This is Rietveld 408576698