Chromium Code Reviews| 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; |
|
vsm
2015/10/20 22:05:05
This is the case where we now complain more loudly
|
| } |
| { |
| 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; |
| } |
| } |