[NI] Fix checking for the same instance inside for suspend functions

This commit is contained in:
Mikhail Zarechenskiy
2018-05-04 16:21:17 +03:00
parent 64b10d827d
commit b23e9f771b
9 changed files with 79 additions and 7 deletions
@@ -12,8 +12,6 @@ import org.jetbrains.kotlin.incremental.components.NoLookupLocation
import org.jetbrains.kotlin.types.KotlinType
import org.jetbrains.kotlin.types.TypeUtils
import org.jetbrains.kotlin.utils.addToStdlib.safeAs
import java.lang.reflect.ParameterizedType
import kotlin.reflect.KFunction1
fun ClassDescriptor.underlyingRepresentation(): ValueParameterDescriptor? {
if (!isInline) return null