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

Side by Side Diff: pkg/front_end/testcases/inference_new/multiple_interface_inheritance.dart.direct.expect

Issue 3010483002: Add tests demonstrating bugs #30547 and #30552. (Closed)
Patch Set: Mark interface classes as abstract Created 3 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 abstract class I1 extends core::Object {
6 default constructor •() → void
7 : super core::Object::•()
8 ;
9 abstract method f(core::int i) → void;
10 }
11 abstract class I2 extends core::Object {
12 default constructor •() → void
13 : super core::Object::•()
14 ;
15 abstract method f(core::Object o) → void;
16 }
17 abstract class C extends core::Object implements self::I1, self::I2 {
18 default constructor •() → void
19 : super core::Object::•()
20 ;
21 }
22 class D extends self::C {
23 default constructor •() → void
24 : super self::C::•()
25 ;
26 method f(core::Object o) → void {}
27 }
28 abstract class E extends core::Object implements self::I2, self::I1 {
29 default constructor •() → void
30 : super core::Object::•()
31 ;
32 }
33 class F extends self::E {
34 default constructor •() → void
35 : super self::E::•()
36 ;
37 method f(core::Object o) → void {}
38 }
39 static method g1(self::C c) → void {
40 c.f("hi");
41 }
42 static method g2(self::E e) → void {
43 e.f("hi");
44 }
45 static method main() → dynamic {
46 self::g1(new self::D::•());
47 self::g2(new self::F::•());
48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698