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

Unified Diff: pkg/barback/lib/src/graph/package_graph.dart

Issue 430973002: Only support the new source_span spans in barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 5 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
« no previous file with comments | « pkg/barback/CHANGELOG.md ('k') | pkg/barback/lib/src/log.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/graph/package_graph.dart
diff --git a/pkg/barback/lib/src/graph/package_graph.dart b/pkg/barback/lib/src/graph/package_graph.dart
index e4664d9ca997058acf23a93651c1469127a04f08..0f9cde96d1576087b6bfce578481ad2c2e97f3e8 100644
--- a/pkg/barback/lib/src/graph/package_graph.dart
+++ b/pkg/barback/lib/src/graph/package_graph.dart
@@ -208,7 +208,7 @@ class PackageGraph {
buffer.write("[${entry.level} ${entry.transform}] ");
if (entry.span != null) {
- buffer.write(entry.span.getLocationMessage(entry.message));
+ buffer.write(entry.span.message(entry.message));
} else {
buffer.write(entry.message);
}
« no previous file with comments | « pkg/barback/CHANGELOG.md ('k') | pkg/barback/lib/src/log.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698