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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart

Issue 2977893002: Undeprecate IncompleteError. (Closed)
Patch Set: Created 3 years, 5 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 | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/messages.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/messages.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698