| 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 5e30da1c730cc5c961d11cc81b8610f704e4887c..e78e8f91a8e8cd7568880fb3ae947105d7609f47 100644
|
| --- a/pkg/front_end/lib/compilation_error.dart
|
| +++ b/pkg/front_end/lib/compilation_error.dart
|
| @@ -9,18 +9,20 @@ library front_end.compilation_error;
|
| import 'package:source_span/source_span.dart' show SourceSpan;
|
|
|
| /// A single error that occurred during compilation, and information about where
|
| -/// it occurred.
|
| +/// it occurred and how to fix it.
|
| ///
|
| /// TODO(paulberry): add a reference to the analyzer error code.
|
| ///
|
| /// Not intended to be implemented or extended by clients.
|
| +// TODO(sigmund): rename to CompliationMessage
|
| abstract class CompilationError {
|
| - /// A text description of how the user can fix the error. May be `null`.
|
| - String get correction;
|
| + /// A text description of the compile error.
|
| + String get message;
|
| +
|
| + /// A suggestion for the user to hint them on how to fix the error. May be
|
| + /// `null`.
|
| + String get tip;
|
|
|
| /// The source span where the error occurred.
|
| SourceSpan get span;
|
| -
|
| - /// A text description of the compile error.
|
| - String get message;
|
| }
|
|
|