Index: pkg/front_end/lib/src/fasta/dill/dill_member_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_member_builder.dart b/pkg/front_end/lib/src/fasta/dill/dill_member_builder.dart |
index 131c282649cd7081055848b08fc969c96903af00..580e88a9dd7e50f1ed81d78375908f8035edfcfa 100644 |
--- a/pkg/front_end/lib/src/fasta/dill/dill_member_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/dill/dill_member_builder.dart |
@@ -7,7 +7,7 @@ library fasta.dill_member_builder; |
import 'package:kernel/ast.dart' |
show Constructor, Field, Member, Procedure, ProcedureKind; |
-import '../errors.dart' show internalError; |
+import '../deprecated_problems.dart' show deprecated_internalProblem; |
import '../kernel/kernel_builder.dart' |
show |
@@ -77,7 +77,7 @@ int computeModifiers(Member member) { |
} else if (member is Constructor) { |
modifier |= member.isConst ? constMask : 0; |
} else { |
- internalError("Unhandled: ${member.runtimeType}"); |
+ deprecated_internalProblem("Unhandled: ${member.runtimeType}"); |
} |
return modifier; |
} |