15dc147226
Change-Id: Iad2300d8fa5384b5d692c5598c9311e600427dd2 Reviewed-on: https://dart-review.googlesource.com/c/90003 Commit-Queue: Peter von der Ahé <ahe@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
library;
|
|
//
|
|
// Problems in library:
|
|
//
|
|
// 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 'C'.
|
|
// - 'C' is from 'pkg/front_end/testcases/continue_inference_after_error.dart'.
|
|
// Try correcting the name to the name of an existing method, or defining a method named 'missing'.
|
|
// lib(new C().missing());
|
|
// ^^^^^^^
|
|
//
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
import "org-dartlang-testcase:///continue_inference_after_error_lib.dart" as lib;
|
|
|
|
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 = invalid-expression "pkg/front_end/testcases/continue_inference_after_error.dart:10:15: Error: The method 'missing' isn't defined for the class 'C'.
|
|
- 'C' is from 'pkg/front_end/testcases/continue_inference_after_error.dart'.
|
|
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 {}
|
|
|
|
library;
|
|
import self as self2;
|