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

Unified Diff: pkg/front_end/lib/compilation_error.dart

Issue 2503853003: Rename CompilationError.location to CompilationError.span (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/compilation_error.dart
diff --git a/pkg/front_end/lib/compilation_error.dart b/pkg/front_end/lib/compilation_error.dart
index a2385759482cb147c1b7e8061fee76fd03712f28..5e30da1c730cc5c961d11cc81b8610f704e4887c 100644
--- a/pkg/front_end/lib/compilation_error.dart
+++ b/pkg/front_end/lib/compilation_error.dart
@@ -18,8 +18,8 @@ abstract class CompilationError {
/// A text description of how the user can fix the error. May be `null`.
String get correction;
- /// The source location where the error occurred.
- SourceSpan get location;
+ /// The source span where the error occurred.
+ SourceSpan get span;
/// A text description of the compile error.
String get message;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698