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

Unified Diff: pkg/analyzer/lib/src/task/strong/info.dart

Issue 1833553002: Treat DownCastComposite as a StaticWarning, not a StaticTypeWarning. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b8f09eaae92aba0ea445f2f5e84ca93e58be5120..f39efffd4eb1fb08e7ea6b1396c489ab3cd681b9 100644
--- a/pkg/analyzer/lib/src/task/strong/info.dart
+++ b/pkg/analyzer/lib/src/task/strong/info.dart
@@ -170,7 +170,7 @@ class DownCastComposite extends DownCast {
@override
String get name => 'STRONG_MODE_DOWN_CAST_COMPOSITE';
- toErrorCode() => new StaticTypeWarningCode(name, message);
+ toErrorCode() => new StaticWarningCode(name, message);
}
/// A down cast to a non-ground type. These behave differently from standard
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698