blob: 06c896fec99f82872c33d720325f50957054792e [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/invalid_type.dart:7:5: Error: Expected identifier, but got 'this'.
// this.bar();
// ^^^^
//
// pkg/front_end/testcases/invalid_type.dart:12:12: Warning: 'Missing' isn't a type.
// (null as Missing).bar();
// ^^^^^^^
//
import self as self;
import "dart:core" as core;
class C extends core::Object {
synthetic constructor •() self::C
: super core::Object::•()
;
static method foo() dynamic {
invalid-expression "pkg/front_end/testcases/invalid_type.dart:7:5: Error: Expected identifier, but got 'this'.
this.bar();
^^^^".bar();
}
}
static method test() dynamic {
(null as invalid-type).bar();
null.bar();
}
static method main() dynamic {}