blob: e22e2f0d7676270a9b78f1bff05d10bfc07dde38 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
abstract class A extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
abstract method f(dynamic x) dynamic;
}
abstract class B extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
abstract method f(dynamic x) dynamic;
}
static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/inference/circular_method_inference.dart:12:16: Error: 'A' is a supertype of itself via 'B'.
abstract class A extends B {
^", "pkg/front_end/testcases/inference/circular_method_inference.dart:16:16: Error: 'B' is a supertype of itself via 'A'.
abstract class B extends A {
^"]/* from null */;
static method main() → dynamic {}