13 lines
377 B
Kotlin
Vendored
13 lines
377 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
fun A.foobar() = 3
|
|
|
|
class A {
|
|
fun foo() = 1
|
|
constructor(x: Any?)
|
|
constructor() : this(object {
|
|
fun bar() = <!UNRESOLVED_REFERENCE!>foo<!>() + <!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>this@A<!>.foo() +
|
|
<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>foobar<!>() + super<!UNRESOLVED_LABEL!>@A<!>.hashCode()
|
|
})
|
|
}
|