[FIR] Correctly detect super type in delegated constructor call

This commit is contained in:
Dmitriy Novozhilov
2020-04-16 17:46:18 +03:00
parent adfd478361
commit 7f02d57d88
56 changed files with 199 additions and 230 deletions
+2 -2
View File
@@ -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 {