76df0f9ad1
^KT-48870 Fixed
13 lines
424 B
Kotlin
Vendored
13 lines
424 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
fun A.foobar() = 3
|
|
|
|
class A {
|
|
fun foo() = 1
|
|
constructor(x: Any?)
|
|
constructor() : this(object {
|
|
fun bar() = <!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>foo<!>() <!OVERLOAD_RESOLUTION_AMBIGUITY!>+<!> <!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>this@A<!>.foo() +
|
|
<!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>foobar<!>() + super<!UNRESOLVED_LABEL!>@A<!>.hashCode()
|
|
})
|
|
}
|