Don't allow to use own members when resolve super constructor call in (companion) object
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
open class S(val a: Any, val b: Any, val c: Any) {}
|
||||
|
||||
object A : S(<!UNRESOLVED_REFERENCE!>prop1<!>, <!UNRESOLVED_REFERENCE!>prop2<!>, <!UNRESOLVED_REFERENCE!>func<!>()) {
|
||||
val prop1 = 1
|
||||
val prop2: Int
|
||||
get() = 1
|
||||
fun func() {}
|
||||
}
|
||||
Reference in New Issue
Block a user