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

Unified Diff: pkg/analyzer/lib/src/error.dart

Issue 189443009: Analzyzer test fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « no previous file | pkg/analyzer/test/error_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/error.dart
diff --git a/pkg/analyzer/lib/src/error.dart b/pkg/analyzer/lib/src/error.dart
index ef0a3d3c198e1722e28d51167dd44c235c714e19..6fda8506b73f20733b21b75593aa287fbdf43a9f 100644
--- a/pkg/analyzer/lib/src/error.dart
+++ b/pkg/analyzer/lib/src/error.dart
@@ -47,7 +47,7 @@ class AnalyzerError implements Exception {
// Print a less friendly string representation to ensure that
// error.source.contents is not executed, as .contents it isn't async
- builder.writeln("Error in ${error.source.fullName}: ${error.message}");
+ builder.write("Error in ${error.source.shortName}: ${error.message}");
// var content = error.source.contents.data;
// var beforeError = content.substring(0, error.offset);
« no previous file with comments | « no previous file | pkg/analyzer/test/error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698