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

Unified Diff: pkg/kernel/test/interpreter/suite.dart

Issue 2970273004: Deprecate all diagnostics methods that use strings. (Closed)
Patch Set: 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/kernel/test/interpreter/suite.dart
diff --git a/pkg/kernel/test/interpreter/suite.dart b/pkg/kernel/test/interpreter/suite.dart
index 6d4f7dcb26eab37e0a3696a08ea6b5d65dc583b1..4bdefda2000b4641af05d218c136a742d6ee5182 100644
--- a/pkg/kernel/test/interpreter/suite.dart
+++ b/pkg/kernel/test/interpreter/suite.dart
@@ -29,7 +29,8 @@ import 'package:front_end/src/fasta/kernel/kernel_target.dart'
import 'package:front_end/src/fasta/translate_uri.dart' show TranslateUri;
-import 'package:front_end/src/fasta/errors.dart' show InputError;
+import 'package:front_end/src/fasta/deprecated_problems.dart'
+ show deprecated_InputError;
import 'package:front_end/src/fasta/testing/patched_sdk_location.dart';
@@ -97,7 +98,7 @@ class FastaCompile extends Step<TestDescription, Program, InterpreterContext> {
await dillTarget.buildOutlines();
await sourceTarget.buildOutlines();
p = await sourceTarget.buildProgram();
- } on InputError catch (e, s) {
+ } on deprecated_InputError catch (e, s) {
return fail(null, e.error, s);
}
return pass(p);
« pkg/front_end/lib/src/fasta/deprecated_problems.dart ('K') | « pkg/kernel/test/closures/suite.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698