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/analyzer/lib/src/task/strong/info.dart

Issue 1413743003: Remove MissingTypeError to remove duplicate warnings (issue 24610) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/analyzer/lib/src/task/strong/info.dart
diff --git a/pkg/analyzer/lib/src/task/strong/info.dart b/pkg/analyzer/lib/src/task/strong/info.dart
index 1f7caf679ca8037c76a1c93d05cf6850f6e44791..a18f76fe36f45b3b82d84d70e6ed8d7196461b05 100644
--- a/pkg/analyzer/lib/src/task/strong/info.dart
+++ b/pkg/analyzer/lib/src/task/strong/info.dart
@@ -435,20 +435,6 @@ class InvalidMethodOverride extends InvalidOverride {
String get message => _messageHelper('Invalid override');
}
-/// Used to mark unexpected situations in our compiler were we couldn't compute
-/// the type of an expression.
-// TODO(sigmund): This is normally a result of another error that is caught by
-// the analyzer, so this should likely be removed in the future.
-class MissingTypeError extends StaticInfo {
- final AstNode node;
- toErrorCode() => new StaticTypeWarningCode(name, message);
-
- MissingTypeError(this.node);
-
- @override List<Object> get arguments => [node, node.runtimeType];
- String get message => "type analysis didn't compute the type of: {0} {1}";
-}
-
/// Dart constructors have one weird quirk, illustrated with this example:
///
/// class Base {

Powered by Google App Engine
This is Rietveld 408576698