[FIR] Don't approximate captured types
This fixes some type argument mismatch errors caused by a captured type being approximated and then captured again. Some places need to be adapted to work with captured types that previously only worked with approximated types. #KT-62959 Fixed
This commit is contained in:
committed by
Space Team
parent
b6d7f35ebf
commit
251827c9aa
@@ -2,9 +2,6 @@
|
||||
// ISSUE: KT-52838
|
||||
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// IGNORE_BACKEND_K2: WASM
|
||||
// REASON: That still doesn't work properly with PCLA, but accidentally don't fails for other tests but WASM
|
||||
// (see KT-52838 for tracking and same-named diagnostic test)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
// ISSUE: KT-52838
|
||||
// JVM_ABI_K1_K2_DIFF: KT-64738
|
||||
|
||||
// IGNORE_BACKEND_K2: WASM
|
||||
// REASON: That still doesn't work properly with PCLA, but accidentally don't fails for other tests but WASM
|
||||
// (see KT-52838 for tracking and same-named diagnostic test)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
this as DerivedBuildee<*>
|
||||
|
||||
Reference in New Issue
Block a user