Index: pkg/front_end/lib/src/base/processed_options.dart |
diff --git a/pkg/front_end/lib/src/base/processed_options.dart b/pkg/front_end/lib/src/base/processed_options.dart |
index a762812b7286264841246efb9153006f33f8a9dd..189cc2aefbc6013a9bbfb49fcebe9ee7c4d81eba 100644 |
--- a/pkg/front_end/lib/src/base/processed_options.dart |
+++ b/pkg/front_end/lib/src/base/processed_options.dart |
@@ -113,11 +113,6 @@ class ProcessedOptions { |
return _raw.byteStore; |
} |
- // TODO(sigmund,ahe): delete in favor of reportMessage. |
- void deprecated_reportError(String error) { |
- _raw.onError(new _StringMessage(error)); |
- } |
- |
void reportMessage(LocatedMessage message) { |
_raw.onError(new _CompilationMessage(message)); |
} |
@@ -374,14 +369,3 @@ class _CompilationMessage implements CompilationError { |
String toString() => message; |
} |
- |
-/// Wraps an error message as a [CompilationError] API. |
-class _StringMessage implements CompilationError { |
- final String message; |
- String get tip => null; |
- SourceSpan get span => null; |
- |
- _StringMessage(this.message); |
- |
- String toString() => message; |
-} |