[FIR] Complete delegated constructor calls without proper constructed type

This is needed to definitely complete arguments of such calls
This commit is contained in:
Dmitriy Novozhilov
2022-02-04 15:28:02 +03:00
committed by teamcity
parent 1591518cf6
commit aadfc59d0f
10 changed files with 62 additions and 19 deletions
@@ -0,0 +1,7 @@
FILE: erroneousDelegatedConstructorCall.kt
public final class A : <ERROR TYPE REF: Symbol not found for Undefined> {
public constructor(): R|A| {
super<<ERROR TYPE REF: Symbol not found for Undefined>>(R|/id|<R|ERROR CLASS: Cannot infer argument for type parameter K|>(R|/materialize|<R|ERROR CLASS: Cannot infer argument for type parameter K|>()))
}
}
@@ -0,0 +1,2 @@
// INFERENCE_HELPERS
class A : <!UNRESOLVED_REFERENCE!>Undefined<!>(id(materialize()))