f283f2db43
Also introduce few new diagnostics: - NONE_APPLICABLE more many inapplicable candidates - HIDDEN for visible candidates
21 lines
339 B
Kotlin
Vendored
21 lines
339 B
Kotlin
Vendored
object A {
|
|
<!CONSTRUCTOR_IN_OBJECT!>constructor()<!>
|
|
init {}
|
|
}
|
|
|
|
enum class B {
|
|
X() {
|
|
<!CONSTRUCTOR_IN_OBJECT, NONE_APPLICABLE!>constructor()<!>
|
|
}
|
|
}
|
|
|
|
class C {
|
|
companion object {
|
|
<!CONSTRUCTOR_IN_OBJECT!>constructor()<!>
|
|
}
|
|
}
|
|
|
|
val anonObject = object {
|
|
<!CONSTRUCTOR_IN_OBJECT!>constructor()<!>
|
|
}
|