Index: pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart |
index cde1d58816937f8f30cfd379b507e01196f8bdb4..f54e6bf4fa889d2256ea7f7e52b4a2d8eea0e5b0 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart |
@@ -464,17 +464,17 @@ abstract class IncompleteSend extends FastaAccessor { |
Arguments get arguments => null; |
} |
-class deprecated_IncompleteError extends IncompleteSend with ErrorAccessor { |
- final Object error; |
+class IncompleteError extends IncompleteSend with ErrorAccessor { |
+ final Message message; |
- deprecated_IncompleteError(BuilderHelper helper, Token token, this.error) |
+ IncompleteError(BuilderHelper helper, Token token, this.message) |
: super(helper, token, null); |
@override |
Expression buildError(Arguments arguments, |
{bool isGetter: false, bool isSetter: false, int offset}) { |
- return helper.deprecated_buildCompileTimeError( |
- error, offset ?? offsetForToken(this.token)); |
+ return helper.buildCompileTimeError( |
+ message, offset ?? offsetForToken(this.token)); |
} |
@override |