mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 15:01:30 +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
4 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
library invalid_package_name_test;
|
library invalid_package_name_test;
|
||||||
|
|
||||||
import 'package:foo/foo.dart' as foo;
|
import 'package:foo/foo.dart' as foo;
|
||||||
|
// ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
// [analyzer] COMPILE_TIME_ERROR.URI_DOES_NOT_EXIST
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
if (foo.foo != 'foo') {
|
if (foo.foo != 'foo') {
|
||||||
|
|
|
@ -7,5 +7,7 @@
|
||||||
library same_package_twice_test;
|
library same_package_twice_test;
|
||||||
|
|
||||||
import 'package:foo/foo.dart' as foo;
|
import 'package:foo/foo.dart' as foo;
|
||||||
|
// ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
// [analyzer] COMPILE_TIME_ERROR.URI_DOES_NOT_EXIST
|
||||||
|
|
||||||
main() {}
|
main() {}
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
library invalid_package_name_test;
|
library invalid_package_name_test;
|
||||||
|
|
||||||
import 'package:foo/foo.dart' as foo;
|
import 'package:foo/foo.dart' as foo;
|
||||||
|
// ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
// [analyzer] COMPILE_TIME_ERROR.URI_DOES_NOT_EXIST
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
if (foo.foo != 'foo') {
|
if (foo.foo != 'foo') {
|
||||||
|
|
|
@ -9,5 +9,8 @@
|
||||||
library same_package_twice_test;
|
library same_package_twice_test;
|
||||||
|
|
||||||
import 'package:foo/foo.dart' as foo;
|
import 'package:foo/foo.dart' as foo;
|
||||||
|
// ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
// [analyzer] COMPILE_TIME_ERROR.URI_DOES_NOT_EXIST
|
||||||
|
// [cfe] unspecified
|
||||||
|
|
||||||
main() {}
|
main() {}
|
||||||
|
|
Loading…
Reference in a new issue