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

Unified Diff: pkg/front_end/lib/src/fasta/dill/dill_class_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/dill/dill_class_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart b/pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart
index 123f079e1ca8ec64d8f519215deac07fd636a8d3..abc88b20a63c08f78688f09b81d3855e1756aaa6 100644
--- a/pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart
+++ b/pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart
@@ -6,7 +6,7 @@ library fasta.dill_class_builder;
import 'package:kernel/ast.dart' show Class, Member;
-import '../errors.dart' show internalError;
+import '../deprecated_problems.dart' show deprecated_internalProblem;
import '../kernel/kernel_builder.dart'
show MemberBuilder, KernelClassBuilder, KernelTypeBuilder, Scope;
@@ -52,10 +52,11 @@ class DillClassBuilder extends KernelClassBuilder {
/// superclass.
bool get isMixinApplication => cls.isMixinApplication;
- KernelTypeBuilder get mixedInType => internalError("Not implemented.");
+ KernelTypeBuilder get mixedInType =>
+ deprecated_internalProblem("Not implemented.");
void set mixedInType(KernelTypeBuilder mixin) {
- internalError("Not implemented.");
+ deprecated_internalProblem("Not implemented.");
}
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/deprecated_problems.dart ('k') | pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698