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

Unified Diff: pkg/front_end/test/fasta/shaker_test.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/front_end/test/fasta/shaker_test.dart
diff --git a/pkg/front_end/test/fasta/shaker_test.dart b/pkg/front_end/test/fasta/shaker_test.dart
index 02543553d28bfe8bdab9574cb007591ca230110c..7929e964694a0870e51a2c14cde0c87201f46c30 100644
--- a/pkg/front_end/test/fasta/shaker_test.dart
+++ b/pkg/front_end/test/fasta/shaker_test.dart
@@ -22,7 +22,8 @@ import 'dart:io' show File;
export 'package:testing/testing.dart' show Chain, runMe;
import 'package:front_end/physical_file_system.dart';
import 'package:front_end/src/fasta/dill/dill_target.dart' show DillTarget;
-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/kernel/kernel_target.dart'
show KernelTarget;
import 'package:front_end/src/fasta/kernel/verifier.dart' show verifyProgram;
@@ -133,7 +134,7 @@ class BuildProgram
// twice, but that seems unnecessary.
var program = await sourceTarget.buildProgram(trimDependencies: true);
return pass(new _IntermediateData(inputUri, program, showCoreLibraries));
- } on InputError catch (e, s) {
+ } on deprecated_InputError catch (e, s) {
return fail(null, e.error, s);
}
}

Powered by Google App Engine
This is Rietveld 408576698