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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_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
Index: pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart
index 1978c66b74564c33c379c86fc11a383c66458f2f..9868219f7539ad79f9ec604dac39609e1f4437f9 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart
@@ -6,7 +6,7 @@ library fasta.kernel_mixin_application_builder;
import 'package:kernel/ast.dart' show InterfaceType, Supertype;
-import '../errors.dart' show internalError;
+import '../deprecated_problems.dart' show deprecated_internalProblem;
import '../util/relativize.dart' show relativizeUri;
@@ -40,10 +40,10 @@ class KernelMixinApplicationBuilder
super(supertype, mixins, charOffset, fileUri);
InterfaceType build(LibraryBuilder library) {
- return internalError("Unsupported operation.");
+ return deprecated_internalProblem("Unsupported operation.");
}
Supertype buildSupertype(LibraryBuilder library) {
- return internalError("Unsupported operation.");
+ return deprecated_internalProblem("Unsupported operation.");
}
}

Powered by Google App Engine
This is Rietveld 408576698