Index: pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart |
diff --git a/pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart b/pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart |
index 2d43e7d048c77c29e79b516b29a3ce4abf4ce158..feaf5493ce57abe147b64de16a4830c12ca9042c 100644 |
--- a/pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart |
+++ b/pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart |
@@ -126,7 +126,7 @@ class Dart2JsLibraryDependencyMirror implements LibraryDependencySourceMirror { |
SourceLocation get location { |
return new Dart2JsSourceLocation( |
_sourceLibrary._element.entryCompilationUnit.script, |
- _sourceLibrary.mirrorSystem.compiler.spanFromNode(_node)); |
+ _sourceLibrary.mirrorSystem.compiler.reporter.spanFromSpannable(_node)); |
} |
List<CombinatorMirror> get combinators { |