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

Unified Diff: pkg/front_end/lib/src/fasta/dill/dill_typedef_builder.dart

Issue 2970273004: Deprecate all diagnostics methods that use strings. (Closed)
Patch Set: Merged with 4df146dd9a465d63344330bf3e45524b927c92ec 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/dill/dill_target.dart ('k') | pkg/front_end/lib/src/fasta/errors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/dill/dill_typedef_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_typedef_builder.dart b/pkg/front_end/lib/src/fasta/dill/dill_typedef_builder.dart
index 2d7b21bd7b95936a2596729c3ef6f4c00dc5ed80..a7b0dd91dd712fdd120f8fa46ef86db166a9ded0 100644
--- a/pkg/front_end/lib/src/fasta/dill/dill_typedef_builder.dart
+++ b/pkg/front_end/lib/src/fasta/dill/dill_typedef_builder.dart
@@ -6,7 +6,8 @@ library fasta.dill_typedef_builder;
import 'package:kernel/ast.dart' show DartType, Typedef;
-import 'package:front_end/src/fasta/errors.dart' show internalError;
+import 'package:front_end/src/fasta/deprecated_problems.dart'
+ show deprecated_internalProblem;
import '../kernel/kernel_builder.dart'
show
@@ -24,17 +25,17 @@ class DillFunctionTypeAliasBuilder extends KernelFunctionTypeAliasBuilder {
typedef);
List<MetadataBuilder> get metadata {
- return internalError('Not implemented.');
+ return deprecated_internalProblem('Not implemented.');
}
@override
List<TypeVariableBuilder> get typeVariables {
- return internalError('Not implemented.');
+ return deprecated_internalProblem('Not implemented.');
}
@override
KernelFunctionTypeBuilder get type {
- return internalError('Not implemented.');
+ return deprecated_internalProblem('Not implemented.');
}
@override
« no previous file with comments | « pkg/front_end/lib/src/fasta/dill/dill_target.dart ('k') | pkg/front_end/lib/src/fasta/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698