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

Unified Diff: pkg/front_end/lib/src/simple_error.dart

Issue 2953703002: Tweak public APIs and use them in patch_sdk, dart2js, and kernel-service (Closed)
Patch Set: cl comments Created 3 years, 6 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
Index: pkg/front_end/lib/src/simple_error.dart
diff --git a/pkg/front_end/lib/src/simple_error.dart b/pkg/front_end/lib/src/simple_error.dart
index 40e0a4183eb4743e841ee07f8e2a3f056e3ddd4e..fd11ccd678edb531bcc94aac223dbc8a05bb412e 100644
--- a/pkg/front_end/lib/src/simple_error.dart
+++ b/pkg/front_end/lib/src/simple_error.dart
@@ -8,4 +8,6 @@ class SimpleError implements CompilationError {
SourceSpan get span => null;
final String message;
SimpleError(this.message);
+
+ String toString() => "FrontEnd Error: $message";
}

Powered by Google App Engine
This is Rietveld 408576698