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

Unified Diff: pkg/fletchc/lib/src/debug_info.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Update status files Created 5 years, 1 month 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: 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

Powered by Google App Engine
This is Rietveld 408576698