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

Unified Diff: pkg/front_end/lib/src/fasta/io.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
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta.dart ('k') | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/io.dart
diff --git a/pkg/front_end/lib/src/fasta/io.dart b/pkg/front_end/lib/src/fasta/io.dart
index 4754d94a9838dda04445f2e557036b15e42e0c35..80e5287ee2767ff4dfee4d0c44b750fa66375c28 100644
--- a/pkg/front_end/lib/src/fasta/io.dart
+++ b/pkg/front_end/lib/src/fasta/io.dart
@@ -8,7 +8,7 @@ import 'dart:async' show Future;
import 'dart:io' show FileSystemException;
-import 'errors.dart' show inputError;
+import 'deprecated_problems.dart' show deprecated_inputError;
import 'scanner/io.dart' as scanner_io show readBytesFromFile;
@@ -23,6 +23,6 @@ Future<List<int>> readBytesFromFile(Uri uri,
if (osMessage != null && osMessage.isNotEmpty) {
message = osMessage;
}
- return inputError(uri, -1, message);
+ return deprecated_inputError(uri, -1, message);
}
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta.dart ('k') | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698