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

Unified Diff: pkg/front_end/test/fasta/rasta/issue_000070.dart.direct.expect

Issue 2658093007: Update rasta direct expectations. (Closed)
Patch Set: Rebased on 5f1092d494bc8cae2b10917fc41c46764e867923. 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
Index: pkg/front_end/test/fasta/rasta/issue_000070.dart.direct.expect
diff --git a/pkg/front_end/test/fasta/rasta/issue_000070.dart.direct.expect b/pkg/front_end/test/fasta/rasta/issue_000070.dart.direct.expect
index 4f721a8f1f6292d5e69cb75ebe57608f42ef1efe..dfdf64c46fa62993ab591e122a169568fa5518ad 100644
--- a/pkg/front_end/test/fasta/rasta/issue_000070.dart.direct.expect
+++ b/pkg/front_end/test/fasta/rasta/issue_000070.dart.direct.expect
@@ -5,32 +5,34 @@ import "package:expect/expect.dart" as exp;
class A<N extends core::Object, S extends core::Object, U extends core::Object> extends core::Object {
final field core::List<self::A::U> field;
- constructor •(self::A::N n, self::A::S s) → dynamic
- : self::A::field = core::List::•<self::A::U>(), super core::Object::•() {
- exp::Expect::isTrue(n is self::A::N);
- exp::Expect::isTrue(s is self::A::S);
+ constructor •(self::A::N n, self::A::S s) → void
+ : self::A::field = core::List::_internal<self::A::U>(core::_GROWABLE_ARRAY_MARKER), super core::Object::•() {
+ exp::Expect::isTrue(n is self::A::N, null);
+ exp::Expect::isTrue(s is self::A::S, null);
}
- constructor empty() → dynamic
+ constructor empty() → void
: self::A::field = null, super core::Object::•() {}
- const constructor c(self::A::U u, self::A::S s) → dynamic
+ const constructor c(self::A::U u, self::A::S s) → void
: self::A::field = const <dynamic>[null], super core::Object::•()
;
- static factory f<N extends core::Object, S extends core::Object, U extends core::Object>(self::A::f::S s) → self::A<self::A::f::N, self::A::f::S, self::A::f::U> {
- exp::Expect::isTrue(s is self::A::f::S);
- return new self::A::empty<dynamic, dynamic, dynamic>();
- }
get getter() → core::List<self::A::U> {
return this.field;
}
set setter(self::A::S s) → void {}
+ static factory f<N extends core::Object, S extends core::Object, U extends core::Object>(self::A::f::S s) → self::A<self::A::f::N, self::A::f::S, self::A::f::U> {
+ exp::Expect::isTrue(s is self::A::f::S, null);
+ return new self::A::empty<dynamic, dynamic, dynamic>();
+ }
}
abstract class J<Aa extends core::Object, B extends core::Object> extends core::Object {
- constructor •() → self::J<self::J::Aa, self::J::B>
- : super core::Object::•();
+ constructor •() → void
+ : super core::Object::•()
+ ;
}
abstract class I<H extends core::Object, C extends core::Object, K extends core::Object> extends self::J<self::I::C, self::I::K> {
- constructor •() → self::I<self::I::H, self::I::C, self::I::K>
- : super self::J::•();
+ constructor •() → void
+ : super self::J::•()
+ ;
}
static method main() → dynamic {
new self::A::•<core::num, core::double, core::List<dynamic>>(1, 2.0);

Powered by Google App Engine
This is Rietveld 408576698