Add test for outdated smart cast with elvis issue

#KT-5335 Obsolete
This commit is contained in:
Alexander Udalov
2014-10-16 16:35:11 +04:00
parent 6387076efe
commit 6698e0ecc9
6 changed files with 24 additions and 5 deletions
@@ -84,7 +84,7 @@ class ConstructorConverter(private val psiClass: PsiClass,
else
null
}
val finalTarget = finalTargetInfo?.constructor ?: target!! //TODO: see KT-5335
val finalTarget = finalTargetInfo?.constructor ?: target
toTargetConstructorMap[constructor] = TargetConstructorInfo(finalTarget, parameterDefaults)
for (entry in toTargetConstructorMap.entrySet()) {