blob: b8eb6f4a61d573e7b70f8b6724733433720e9a88 [file] [log] [blame]
// Formatted problems:
//
// pkg/front_end/testcases/continue_inference_after_error.dart:10:3: Error: A prefix can't be used as an expression.
// lib(new C().missing());
// ^^^
//
// pkg/front_end/testcases/continue_inference_after_error.dart:10:15: Error: The method 'missing' isn't defined for the class '#lib1::C'.
// Try correcting the name to the name of an existing method, or defining a method named 'missing'.
// lib(new C().missing());
// ^^^^^^^
library;
import self as self;
import "dart:core" as core;
class C extends core::Object {
synthetic constructor •() self::C
: super core::Object::•()
;
}
static method test() dynamic {
let final<BottomType> #t1 = invalid-expression "pkg/front_end/testcases/continue_inference_after_error.dart:10:3: Error: A prefix can't be used as an expression.
lib(new C().missing());
^^^" in let final core::Object #t2 = let final dynamic #t3 = new self::C::•() in invalid-expression "pkg/front_end/testcases/continue_inference_after_error.dart:10:15: Error: The method 'missing' isn't defined for the class '#lib1::C'.
Try correcting the name to the name of an existing method, or defining a method named 'missing'.
lib(new C().missing());
^^^^^^^" in null;
}
static method main() → dynamic {}