| Index: pkg/compiler/lib/src/mirrors_used.dart
|
| diff --git a/pkg/compiler/lib/src/mirrors_used.dart b/pkg/compiler/lib/src/mirrors_used.dart
|
| index 08c8750e3fb6fc8ac762141b439e164e7f9758c2..c1fde6e75bd76104b4d405877f4a1f5ff8c1744d 100644
|
| --- a/pkg/compiler/lib/src/mirrors_used.dart
|
| +++ b/pkg/compiler/lib/src/mirrors_used.dart
|
| @@ -456,7 +456,7 @@ class MirrorUsageBuilder {
|
| String libraryNameCandiate;
|
| for (LibraryElement l in compiler.libraryLoader.libraries) {
|
| if (l.hasLibraryName) {
|
| - String libraryName = l.libraryOrScriptName;
|
| + String libraryName = l.libraryName;
|
| if (string == libraryName) {
|
| // Found an exact match.
|
| libraryCandiate = l;
|
| @@ -514,7 +514,7 @@ class MirrorUsageBuilder {
|
| reporter.reportHintMessage(
|
| spannable,
|
| MessageKind.MIRRORS_CANNOT_RESOLVE_IN_LIBRARY,
|
| - {'name': identifiers[0], 'library': library.libraryOrScriptName});
|
| + {'name': identifiers[0], 'library': library.name});
|
| } else {
|
| reporter.reportHintMessage(
|
| spannable,
|
|
|