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

Unified Diff: pkg/front_end/test/fasta/rasta/issue_000067.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_000067.dart.direct.expect
diff --git a/pkg/front_end/test/fasta/rasta/issue_000067.dart.direct.expect b/pkg/front_end/test/fasta/rasta/issue_000067.dart.direct.expect
index a6a8913364ceddb827079be2e47a7029e8e33ff8..461c046d22d8ffab24ef81c421c42070e2b7dddd 100644
--- a/pkg/front_end/test/fasta/rasta/issue_000067.dart.direct.expect
+++ b/pkg/front_end/test/fasta/rasta/issue_000067.dart.direct.expect
@@ -4,29 +4,30 @@ import "dart:core" as core;
import "package:expect/expect.dart" as exp;
class A extends core::Object {
- constructor •() → dynamic
+ constructor •() → void
: super core::Object::•() {}
+ method m() → core::int {}
static factory foo() → self::A
invalid-statement;
- method m() → core::int {}
}
class C extends self::A {
- constructor •() → dynamic
+ constructor •() → void
: super self::A::•() {}
- static factory bar() → self::C
- invalid-statement;
method m() → core::int {
return 1;
}
+ static factory bar() → self::C
+ throw "Missing constructor: D";
}
class D extends self::C {
- constructor •() → self::D
- : super self::C::•();
+ constructor •() → void
+ : super self::C::•()
+ ;
method m() → core::int {
return 2;
}
}
static method main() → dynamic {
- self::A a = new self::D::•();
- exp::Expect::equals(2, a.m());
+ self::A a = self::C::bar();
+ exp::Expect::equals(2, a.m(), null);
}

Powered by Google App Engine
This is Rietveld 408576698