Temporary hack to compile 'kotlin'

This commit is contained in:
Svetlana Isakova
2014-12-11 22:37:10 +03:00
parent 1f6f607f40
commit 239b9a96a0
@@ -76,6 +76,8 @@ public fun approximateCapturedTypesIfNecessary(typeProjection: TypeProjection?):
if (typeProjection == null) return null
val type = typeProjection.getType()
//todo temporary hack to compile 'kotlin'
if (type is LazyType) return typeProjection
if (!TypeUtils.containsSpecialType(type, { it.isCaptured() })) {
return typeProjection
}