[FIR] Correctly detect super type in delegated constructor call
This commit is contained in:
@@ -4,9 +4,9 @@ package toplevelObjectDeclarations
|
||||
open fun foo() : Int = 1
|
||||
}
|
||||
|
||||
class T : Foo {}
|
||||
<!INAPPLICABLE_CANDIDATE!>class T : Foo {}<!>
|
||||
|
||||
object A : Foo {
|
||||
<!INAPPLICABLE_CANDIDATE!>object A<!> : Foo {
|
||||
val x : Int = 2
|
||||
|
||||
fun test() : Int {
|
||||
|
||||
Reference in New Issue
Block a user