blob: 9a71f0b23f74a1cfd8e8700586dd453babccb3ea [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general/invalid_type.dart:7:5: Error: Expected identifier, but got 'this'.
// this.bar();
// ^^^^
//
// pkg/front_end/testcases/general/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/general/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 {}