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

Unified Diff: pkg/front_end/lib/src/fasta/dill/dill_target.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
Index: pkg/front_end/lib/src/fasta/dill/dill_target.dart
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_target.dart b/pkg/front_end/lib/src/fasta/dill/dill_target.dart
index 0333fbf176505802484dcbe963d5941f593432da..1937800dfc345fc372c695fac3557ae928ccd5a6 100644
--- a/pkg/front_end/lib/src/fasta/dill/dill_target.dart
+++ b/pkg/front_end/lib/src/fasta/dill/dill_target.dart
@@ -10,7 +10,7 @@ import 'package:kernel/ast.dart' show Class;
import 'package:kernel/target/targets.dart' show Target;
-import '../errors.dart' show internalError;
+import '../deprecated_problems.dart' show deprecated_internalProblem;
import '../kernel/kernel_builder.dart' show ClassBuilder;
import '../target_implementation.dart' show TargetImplementation;
import '../ticker.dart' show Ticker;
@@ -29,16 +29,16 @@ class DillTarget extends TargetImplementation {
void addSourceInformation(
Uri uri, List<int> lineStarts, List<int> sourceCode) {
- internalError("Unsupported operation.");
+ deprecated_internalProblem("Unsupported operation.");
}
void read(Uri uri) {
- internalError("Unsupported operation.");
+ deprecated_internalProblem("Unsupported operation.");
}
@override
Future<Null> buildProgram() {
- return internalError("not implemented.");
+ return deprecated_internalProblem("not implemented.");
}
@override
« no previous file with comments | « pkg/front_end/lib/src/fasta/dill/dill_member_builder.dart ('k') | pkg/front_end/lib/src/fasta/dill/dill_typedef_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698