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

Unified Diff: pkg/kernel/test/closures_initializers/suite.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/tool/_fasta/log_collector.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/test/closures_initializers/suite.dart
diff --git a/pkg/kernel/test/closures_initializers/suite.dart b/pkg/kernel/test/closures_initializers/suite.dart
index af63e91dc3666711e357d94f23345f05f8c4dc3f..d42d163b2eb5a94f9218eb1d3a14c7e98c956aaf 100644
--- a/pkg/kernel/test/closures_initializers/suite.dart
+++ b/pkg/kernel/test/closures_initializers/suite.dart
@@ -36,7 +36,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';
@@ -122,7 +123,7 @@ class FastaCompile
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);
« no previous file with comments | « pkg/front_end/tool/_fasta/log_collector.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698