Merge pull request dart-lang/yaml#115 from scheglov/aa-fix-HintCode.UNNECESSARY_TYPE_CHECK_TRUE

Fix pre-existing HintCode.UNNECESSARY_TYPE_CHECK_TRUE