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

Unified Diff: pkg/fasta/test/rasta/generic_factory.dart.outline.expect

Issue 2650913007: Import rasta tests. (Closed)
Patch Set: Address comment. Created 3 years, 11 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
« no previous file with comments | « pkg/fasta/test/rasta/generic_factory.dart.direct.expect ('k') | pkg/fasta/test/rasta/hello.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fasta/test/rasta/generic_factory.dart.outline.expect
diff --git a/pkg/fasta/test/rasta/generic_factory.dart.outline.expect b/pkg/fasta/test/rasta/generic_factory.dart.outline.expect
new file mode 100644
index 0000000000000000000000000000000000000000..52b736e0757f859e34a78c63c1f4ae2039b527d5
--- /dev/null
+++ b/pkg/fasta/test/rasta/generic_factory.dart.outline.expect
@@ -0,0 +1,48 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+class C1 extends core::Object {
+ constructor •() → self::C1
+ : super core::Object::•();
+}
+class C2 extends core::Object {
+ constructor •() → self::C2
+ : super core::Object::•();
+}
+class C3 extends core::Object {
+ constructor •() → self::C3
+ : super core::Object::•();
+}
+class A<T extends core::Object> extends core::Object {
+ constructor internal() → dynamic
+ : super core::Object::•()
+ ;
+ static factory a<T extends core::Object>() → self::A<self::A::a::T>
+ invalid-statement;
+ static factory b<T extends core::Object>() → self::A<self::A::b::T>
+ invalid-statement;
+ static factory c<T extends core::Object>() → self::A<self::A::c::T>
+ invalid-statement;
+}
+class B<S extends core::Object> extends self::A<self::B::S> {
+ constructor internal() → dynamic
+ : super self::A::internal()
+ ;
+ static factory a<S extends core::Object>() → self::B<self::B::a::S>
+ invalid-statement;
+ static factory b<S extends core::Object>() → self::B<self::B::b::S>
+ invalid-statement;
+}
+class C<U extends core::Object> extends self::B<self::C::U> {
+ constructor •() → dynamic
+ : super self::B::internal()
+ ;
+}
+static method main() → dynamic {
+ new self::C::•<self::C3>();
+ new self::C::•<self::C1>();
+ new self::C::•<self::C3>();
+ new self::C::•<self::C2>();
+ invalid-expression.call();
+}
« no previous file with comments | « pkg/fasta/test/rasta/generic_factory.dart.direct.expect ('k') | pkg/fasta/test/rasta/hello.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698