Index: pkg/analyzer/test/src/task/strong/strong_test_helper.dart |
diff --git a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart |
index 9c3609428f9fa6aea0e31efaa09659eb49b3b01a..5b9f89ad65b4062e8a4d6498298d4404894e5397 100644 |
--- a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart |
+++ b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart |
@@ -101,7 +101,6 @@ CompilationUnit check( |
// TODO(jmesserly): these are usually intentional dynamic calls. |
e.errorCode.name != 'UNDEFINED_METHOD' && |
// We don't care about any of these: |
- e.errorCode != HintCode.UNNECESSARY_CAST && |
e.errorCode != HintCode.UNUSED_ELEMENT && |
e.errorCode != HintCode.UNUSED_FIELD && |
e.errorCode != HintCode.UNUSED_IMPORT && |