Index: pkg/fletchc/lib/src/debug_info.dart |
diff --git a/pkg/fletchc/lib/src/debug_info.dart b/pkg/fletchc/lib/src/debug_info.dart |
index 3c23df49cf1a10936b1e60e3f50bedb3e573e7a9..cbe2deb3bc58eb2b8678b7fcdca579d75a01fe33 100644 |
--- a/pkg/fletchc/lib/src/debug_info.dart |
+++ b/pkg/fletchc/lib/src/debug_info.dart |
@@ -9,7 +9,7 @@ import 'dart:math' show |
import 'package:compiler/src/colors.dart' as colors; |
-import 'package:compiler/src/dart2jslib.dart' show |
+import 'package:compiler/src/diagnostics/source_span.dart' show |
SourceSpan; |
import 'package:compiler/src/elements/elements.dart'; |
@@ -91,7 +91,7 @@ class DebugInfo { |
FletchCompilerImplementation compiler, |
int bytecodeIndex, |
Node node) { |
- SourceSpan span = compiler.spanFromSpannable(node); |
+ SourceSpan span = compiler.reporter.spanFromSpannable(node); |
SourceFile file = null; |
// TODO(ahe): What to do if compiler.provider isn't a SourceFileProvider? |
// Perhaps we can create a new type of diagnostic, see |