Type parameter is considered capable of taking any value for the purpose of cast possibility check #KT-6611 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-06-07 19:14:16 +03:00
parent 99acbf16b2
commit 4b6b35dadf
5 changed files with 40 additions and 1 deletions
@@ -1,5 +1,5 @@
// !LANGUAGE: -BoundCallableReferences
// !DIAGNOSTICS: -CAST_NEVER_SUCCEEDS
// !DIAGNOSTICS: -UNCHECKED_CAST
import kotlin.reflect.KClass