Index: pkg/front_end/lib/src/fasta/dill/dill_loader.dart |
diff --git a/pkg/front_end/lib/src/fasta/dill/dill_loader.dart b/pkg/front_end/lib/src/fasta/dill/dill_loader.dart |
index e87c1a28548b4093e2b941266d2baf3e32143fb3..6da95772c17e1fa988b9dc7635dd1f5a5ef0a91b 100644 |
--- a/pkg/front_end/lib/src/fasta/dill/dill_loader.dart |
+++ b/pkg/front_end/lib/src/fasta/dill/dill_loader.dart |
@@ -8,7 +8,7 @@ import 'dart:async' show Future; |
import 'package:kernel/ast.dart' show Library, Program, Source; |
-import '../errors.dart' show internalError; |
+import '../deprecated_problems.dart' show deprecated_internalProblem; |
import '../loader.dart' show Loader; |
import '../target_implementation.dart' show TargetImplementation; |
import 'dill_library_builder.dart' show DillLibraryBuilder; |
@@ -41,7 +41,8 @@ class DillLoader extends Loader<Library> { |
Future<Null> buildOutline(DillLibraryBuilder builder) async { |
if (builder.library == null) { |
- internalError("Builder.library for ${builder.uri} should not be null."); |
+ deprecated_internalProblem( |
+ "Builder.library for ${builder.uri} should not be null."); |
} |
builder.library.classes.forEach(builder.addClass); |
builder.library.procedures.forEach(builder.addMember); |