diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt index 1a521217f50..6c72b8f3c1d 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/generators/CallAndReferenceGenerator.kt @@ -161,7 +161,7 @@ internal class CallAndReferenceGenerator( declarationStorage, conversionScope ) - return typeRef.convertWithOffsets { startOffset, endOffset -> + return qualifiedAccess.convertWithOffsets { startOffset, endOffset -> val dispatchReceiver = qualifiedAccess.dispatchReceiver if (qualifiedAccess.calleeReference is FirSuperReference) { if (typeRef !is FirComposedSuperTypeRef && dispatchReceiver !is FirNoReceiverExpression) { diff --git a/compiler/testData/codegen/box/coroutines/coroutineToString.kt b/compiler/testData/codegen/box/coroutines/coroutineToString.kt index caed869be97..c012f545ae9 100644 --- a/compiler/testData/codegen/box/coroutines/coroutineToString.kt +++ b/compiler/testData/codegen/box/coroutines/coroutineToString.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_FIR: JVM_IR +// This test depends on line numbers. // TARGET_BACKEND: JVM // WITH_REFLECT // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/debug/multipleSuspendCallsOnSameLine.kt b/compiler/testData/codegen/box/coroutines/debug/multipleSuspendCallsOnSameLine.kt index ea59540545f..c3931b04253 100644 --- a/compiler/testData/codegen/box/coroutines/debug/multipleSuspendCallsOnSameLine.kt +++ b/compiler/testData/codegen/box/coroutines/debug/multipleSuspendCallsOnSameLine.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_FIR: JVM_IR +// This test depends on line numbers. // TARGET_BACKEND: JVM // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/debug/runtimeDebugMetadata.kt b/compiler/testData/codegen/box/coroutines/debug/runtimeDebugMetadata.kt index 7e730cae451..0a7ac82d9c7 100644 --- a/compiler/testData/codegen/box/coroutines/debug/runtimeDebugMetadata.kt +++ b/compiler/testData/codegen/box/coroutines/debug/runtimeDebugMetadata.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_FIR: JVM_IR +// This test depends on line numbers. // TARGET_BACKEND: JVM // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/reflection/mapping/types/unit.kt b/compiler/testData/codegen/box/reflection/mapping/types/unit.kt index ea8dc06adb1..4c6b662c0de 100644 --- a/compiler/testData/codegen/box/reflection/mapping/types/unit.kt +++ b/compiler/testData/codegen/box/reflection/mapping/types/unit.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/smap/chainCalls.kt b/compiler/testData/codegen/box/smap/chainCalls.kt index 492e5cbc641..6871ad5b0be 100644 --- a/compiler/testData/codegen/box/smap/chainCalls.kt +++ b/compiler/testData/codegen/box/smap/chainCalls.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_FIR: JVM_IR +// This test depends on line numbers. // TARGET_BACKEND: JVM // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/smap/infixCalls.kt b/compiler/testData/codegen/box/smap/infixCalls.kt index 0b5da3c0ccb..807371935ee 100644 --- a/compiler/testData/codegen/box/smap/infixCalls.kt +++ b/compiler/testData/codegen/box/smap/infixCalls.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_FIR: JVM_IR +// This test depends on line numbers. // TARGET_BACKEND: JVM // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/smap/simpleCallWithParams.kt b/compiler/testData/codegen/box/smap/simpleCallWithParams.kt index 96a685827cc..4352e0c34a0 100644 --- a/compiler/testData/codegen/box/smap/simpleCallWithParams.kt +++ b/compiler/testData/codegen/box/smap/simpleCallWithParams.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_FIR: JVM_IR +// This test depends on line numbers. // TARGET_BACKEND: JVM // WITH_RUNTIME // FULL_JDK