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

Unified Diff: pkg/front_end/lib/src/fasta/testing/environment_variable.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
Index: pkg/front_end/lib/src/fasta/testing/environment_variable.dart
diff --git a/pkg/front_end/lib/src/fasta/testing/environment_variable.dart b/pkg/front_end/lib/src/fasta/testing/environment_variable.dart
index 2655a11b8630aba702672d076ab38c68288566d2..8aa3dbd831149744f4f07cd9664cedadfcec364d 100644
--- a/pkg/front_end/lib/src/fasta/testing/environment_variable.dart
+++ b/pkg/front_end/lib/src/fasta/testing/environment_variable.dart
@@ -8,7 +8,7 @@ import 'dart:async' show Future;
import 'dart:io' show Directory, File, Platform;
-import '../errors.dart' show inputError;
+import '../deprecated_problems.dart' show deprecated_inputError;
class EnvironmentVariable {
final String name;
@@ -27,7 +27,7 @@ class EnvironmentVariable {
Future<Null> validate(String value) => new Future<Null>.value();
variableNotDefined() {
- inputError(
+ deprecated_inputError(
null, null, "The environment variable '$name' isn't defined. $what");
}
}
@@ -41,7 +41,7 @@ class EnvironmentVariableFile extends EnvironmentVariable {
}
notFound(String value) {
- inputError(
+ deprecated_inputError(
null,
null,
"The environment variable '$name' has the value "
@@ -59,7 +59,7 @@ class EnvironmentVariableDirectory extends EnvironmentVariable {
}
notFound(String value) {
- inputError(
+ deprecated_inputError(
null,
null,
"The environment variable '$name' has the value "

Powered by Google App Engine
This is Rietveld 408576698