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

Unified Diff: pkg/analyzer/test/src/task/strong/checker_test.dart

Issue 1418653003: Fix warnings on implicit casts (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Restore assert 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/test/src/task/strong/checker_test.dart
diff --git a/pkg/analyzer/test/src/task/strong/checker_test.dart b/pkg/analyzer/test/src/task/strong/checker_test.dart
index 874916c36781679c278cdac76f752f343ef4cda6..aa51b50a97a96e36d128714316ba4606e63ea02b 100644
--- a/pkg/analyzer/test/src/task/strong/checker_test.dart
+++ b/pkg/analyzer/test/src/task/strong/checker_test.dart
@@ -984,7 +984,7 @@ void main() {
lOfAs = /*severe:StaticTypeError*/mOfOs;
lOfAs = mOfAs;
lOfAs = /*warning:DownCastComposite*/lOfDs;
- lOfAs = /*warning:DownCastComposite*/lOfOs;
+ lOfAs = /*info:DownCastImplicit*/lOfOs;
lOfAs = lOfAs;
}
{
@@ -993,7 +993,7 @@ void main() {
mOfDs = mOfAs;
mOfDs = /*info:DownCastImplicit*/lOfDs;
mOfDs = /*info:DownCastImplicit*/lOfOs;
- mOfDs = /*info:DownCastImplicit*/lOfAs;
+ mOfDs = /*warning:DownCastComposite*/lOfAs;
}
{
mOfOs = mOfDs;
@@ -1005,11 +1005,11 @@ void main() {
}
{
mOfAs = /*warning:DownCastComposite*/mOfDs;
- mOfAs = /*warning:DownCastComposite*/mOfOs;
+ mOfAs = /*info:DownCastImplicit*/mOfOs;
mOfAs = mOfAs;
mOfAs = /*warning:DownCastComposite*/lOfDs;
- mOfAs = /*warning:DownCastComposite*/lOfOs;
- mOfAs = /*warning:DownCastComposite*/lOfAs;
+ mOfAs = /*info:DownCastImplicit*/lOfOs;
+ mOfAs = /*info:DownCastImplicit*/lOfAs;
}
}
« pkg/analyzer/lib/src/task/strong/info.dart ('K') | « pkg/analyzer/lib/src/task/strong/rules.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698