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

Unified Diff: pkg/front_end/lib/src/fasta/builder/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/builder/mixin_application_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/mixin_application_builder.dart b/pkg/front_end/lib/src/fasta/builder/mixin_application_builder.dart
index e92c294ec8f4d4d669a73766548b474c06b3fb8d..230faa40cd3bbdbf735c3fd174bf3f2af15d22f7 100644
--- a/pkg/front_end/lib/src/fasta/builder/mixin_application_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/mixin_application_builder.dart
@@ -4,7 +4,7 @@
library fasta.mixin_application_builder;
-import '../errors.dart' show internalError;
+import '../deprecated_problems.dart' show deprecated_internalProblem;
import 'builder.dart'
show Scope, TypeBuilder, TypeDeclarationBuilder, TypeVariableBuilder;
@@ -38,7 +38,8 @@ abstract class MixinApplicationBuilder<T extends TypeBuilder>
}
void bind(TypeDeclarationBuilder builder) {
- internalError("Internal error: can't bind a mixin application.");
+ deprecated_internalProblem(
+ "Internal error: can't bind a mixin application.");
}
String get debugName => "MixinApplicationBuilder";
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/library_builder.dart ('k') | pkg/front_end/lib/src/fasta/command_line.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698