mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
Issue 46529. Annotate imports unresolved because of errors in .packages files.
Bug: https://github.com/dart-lang/sdk/issues/46529 Change-Id: I05dc36914adddb6196ade294650ec683dc4a593d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205628 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
parent
596c476f79
commit
32f9d0c404
|
@ -7,6 +7,8 @@
|
|||
library invalid_package_name_test;
|
||||
|
||||
import 'package:foo/foo.dart' as foo;
|
||||
// ^^^^^^^^^^^^^^^^^^^^^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.URI_DOES_NOT_EXIST
|
||||
|
||||
main() {
|
||||
if (foo.foo != 'foo') {
|
||||
|
|
|
@ -7,5 +7,7 @@
|
|||
library same_package_twice_test;
|
||||
|
||||
import 'package:foo/foo.dart' as foo;
|
||||
// ^^^^^^^^^^^^^^^^^^^^^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.URI_DOES_NOT_EXIST
|
||||
|
||||
main() {}
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
library invalid_package_name_test;
|
||||
|
||||
import 'package:foo/foo.dart' as foo;
|
||||
// ^^^^^^^^^^^^^^^^^^^^^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.URI_DOES_NOT_EXIST
|
||||
|
||||
main() {
|
||||
if (foo.foo != 'foo') {
|
||||
|
|
|
@ -9,5 +9,8 @@
|
|||
library same_package_twice_test;
|
||||
|
||||
import 'package:foo/foo.dart' as foo;
|
||||
// ^^^^^^^^^^^^^^^^^^^^^^
|
||||
// [analyzer] COMPILE_TIME_ERROR.URI_DOES_NOT_EXIST
|
||||
// [cfe] unspecified
|
||||
|
||||
main() {}
|
||||
|
|
Loading…
Reference in a new issue