Files
sdk/pkg/front_end/testcases/many_errors.dart.outline.expect
T
Peter von der Ahé 53b372f575 Test that shows leaking synthetic nodes
Change-Id: I8f68795380c1d6963203f9356244d2599be6c9cb
Reviewed-on: https://dart-review.googlesource.com/c/90002
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2019-01-24 18:55:44 +00:00

42 lines
996 B
Plaintext

library;
//
// Problems in library:
//
// pkg/front_end/testcases/many_errors.dart:8:3: Error: A const constructor can't have a body.
// Try removing either the 'const' keyword or the body.
// const A.named1() sync* {}
// ^^^^^
//
// pkg/front_end/testcases/many_errors.dart:13:1: Error: An external or native method can't have a body.
// external foo(String x) {
// ^^^^^^^^
//
import self as self;
import "dart:core" as core;
class A extends core::Object {
final field dynamic x;
constructor named1() → self::A
;
const constructor named2() → self::A
;
}
class B extends core::Object {
synthetic constructor •() → self::B
;
}
class C extends core::Object {
field self::B b;
synthetic constructor •() → self::C
;
}
abstract class AbstractClass extends core::Object {
const constructor id() → self::AbstractClass
;
}
external static method foo(core::String x) → dynamic;
static method m() → dynamic
;
static method main() → dynamic
;