| Index: pkg/front_end/lib/src/fasta/translate_uri.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/translate_uri.dart b/pkg/front_end/lib/src/fasta/translate_uri.dart
|
| index 095dd2a10c4b3dc7c312a7867f29e385a9692796..2f0e3b0c1fcb6ec133d079824f11626fe3fbb0da 100644
|
| --- a/pkg/front_end/lib/src/fasta/translate_uri.dart
|
| +++ b/pkg/front_end/lib/src/fasta/translate_uri.dart
|
| @@ -13,7 +13,7 @@ import 'package:front_end/file_system.dart'
|
|
|
| import 'package:package_config/packages_file.dart' as packages_file show parse;
|
|
|
| -import 'errors.dart' show inputError;
|
| +import 'deprecated_problems.dart' show deprecated_inputError;
|
|
|
| class TranslateUri {
|
| final Map<String, Uri> packages;
|
| @@ -75,14 +75,14 @@ class TranslateUri {
|
| try {
|
| bytes = await fileSystem.entityForUri(packages).readAsBytes();
|
| } on FileSystemException catch (e) {
|
| - inputError(packages, -1, e.message);
|
| + deprecated_inputError(packages, -1, e.message);
|
| }
|
|
|
| Map<String, Uri> parsedPackages;
|
| try {
|
| parsedPackages = packages_file.parse(bytes, packages);
|
| } on FormatException catch (e) {
|
| - return inputError(packages, e.offset, e.message);
|
| + return deprecated_inputError(packages, e.offset, e.message);
|
| }
|
| return new TranslateUri(
|
| parsedPackages,
|
|
|