Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: sdk/lib/_internal/compiler/implementation/library_loader.dart

Issue 11854009: Change spanFromNode to spanFromSpannable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/library_loader.dart
diff --git a/sdk/lib/_internal/compiler/implementation/library_loader.dart b/sdk/lib/_internal/compiler/implementation/library_loader.dart
index 3bc867dd2e83106afcf01d7e2b4dc610dfbeda3d..d7b538e6acba61e10ae1732c6fe69eb7db276732 100644
--- a/sdk/lib/_internal/compiler/implementation/library_loader.dart
+++ b/sdk/lib/_internal/compiler/implementation/library_loader.dart
@@ -225,12 +225,12 @@ class LibraryLoaderTask extends LibraryLoader {
if (!identical(existing, library)) {
Uri uri = library.entryCompilationUnit.script.uri;
compiler.reportMessage(
- compiler.spanFromNode(tag.name, uri),
+ compiler.spanFromSpannable(tag.name, uri),
MessageKind.DUPLICATED_LIBRARY_NAME.error([name]),
api.Diagnostic.WARNING);
Uri existingUri = existing.entryCompilationUnit.script.uri;
compiler.reportMessage(
- compiler.spanFromNode(existing.libraryTag.name, existingUri),
+ compiler.spanFromSpannable(existing.libraryTag.name, existingUri),
MessageKind.DUPLICATED_LIBRARY_NAME.error([name]),
api.Diagnostic.WARNING);
}

Powered by Google App Engine
This is Rietveld 408576698