Temporary hack to compile 'kotlin'
This commit is contained in:
@@ -76,6 +76,8 @@ public fun approximateCapturedTypesIfNecessary(typeProjection: TypeProjection?):
|
|||||||
if (typeProjection == null) return null
|
if (typeProjection == null) return null
|
||||||
|
|
||||||
val type = typeProjection.getType()
|
val type = typeProjection.getType()
|
||||||
|
//todo temporary hack to compile 'kotlin'
|
||||||
|
if (type is LazyType) return typeProjection
|
||||||
if (!TypeUtils.containsSpecialType(type, { it.isCaptured() })) {
|
if (!TypeUtils.containsSpecialType(type, { it.isCaptured() })) {
|
||||||
return typeProjection
|
return typeProjection
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user