57ac8b1ad9
Remove instrumentation for diagnostic messages, forwarding stubs and covariance, since all this information is present in the expectation files already. Change-Id: Idf6622f7eddba801761e13666b470ae6dcc9d59b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97106 Reviewed-by: Aske Simon Christensen <askesc@google.com>
54 lines
2.1 KiB
Plaintext
54 lines
2.1 KiB
Plaintext
library;
|
|
//
|
|
// Problems in library:
|
|
//
|
|
// pkg/front_end/testcases/undefined.dart:12:5: Error: The getter 'y' isn't defined for the class 'C'.
|
|
// - 'C' is from 'pkg/front_end/testcases/undefined.dart'.
|
|
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'y'.
|
|
// c.y;
|
|
// ^
|
|
//
|
|
// pkg/front_end/testcases/undefined.dart:14:5: Error: The method 'g' isn't defined for the class 'C'.
|
|
// - 'C' is from 'pkg/front_end/testcases/undefined.dart'.
|
|
// Try correcting the name to the name of an existing method, or defining a method named 'g'.
|
|
// c.g();
|
|
// ^
|
|
//
|
|
// pkg/front_end/testcases/undefined.dart:16:5: Error: The setter 'y' isn't defined for the class 'C'.
|
|
// - 'C' is from 'pkg/front_end/testcases/undefined.dart'.
|
|
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'y'.
|
|
// c.y = null;
|
|
// ^
|
|
//
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class C extends core::Object {
|
|
field dynamic x = null;
|
|
synthetic constructor •() → self::C
|
|
: super core::Object::•()
|
|
;
|
|
method f() → void {}
|
|
}
|
|
static method test(self::C c) → void {
|
|
c.{self::C::x};
|
|
invalid-expression "pkg/front_end/testcases/undefined.dart:12:5: Error: The getter 'y' isn't defined for the class 'C'.
|
|
- 'C' is from 'pkg/front_end/testcases/undefined.dart'.
|
|
Try correcting the name to the name of an existing getter, or defining a getter or field named 'y'.
|
|
c.y;
|
|
^";
|
|
c.{self::C::f}();
|
|
invalid-expression "pkg/front_end/testcases/undefined.dart:14:5: Error: The method 'g' isn't defined for the class 'C'.
|
|
- 'C' is from 'pkg/front_end/testcases/undefined.dart'.
|
|
Try correcting the name to the name of an existing method, or defining a method named 'g'.
|
|
c.g();
|
|
^";
|
|
c.{self::C::x} = null;
|
|
invalid-expression "pkg/front_end/testcases/undefined.dart:16:5: Error: The setter 'y' isn't defined for the class 'C'.
|
|
- 'C' is from 'pkg/front_end/testcases/undefined.dart'.
|
|
Try correcting the name to the name of an existing setter, or defining a setter or field named 'y'.
|
|
c.y = null;
|
|
^";
|
|
}
|
|
static method main() → dynamic {}
|