0ff9982b31
When a call is resolved to a classifier, only a single error message was being used for multiple cases. This lead to confusion as the default message may not be applicable to a given error case. Added additional errors and messages to distinguish between these error cases. #KT-57251 Fixed
18 lines
405 B
Kotlin
Vendored
18 lines
405 B
Kotlin
Vendored
class Outer {
|
|
class Nested {
|
|
class NestedNested
|
|
}
|
|
|
|
inner class Inner {
|
|
inner class InnerInner
|
|
}
|
|
}
|
|
|
|
fun f1() = Outer()
|
|
fun f2() = Outer.Nested()
|
|
fun f3() = Outer.Nested.NestedNested()
|
|
fun f4() = Outer.<!RESOLUTION_TO_CLASSIFIER!>Inner<!>()
|
|
fun f5() = Outer.Inner.<!RESOLUTION_TO_CLASSIFIER!>InnerInner<!>()
|
|
fun f6() = Outer().Inner()
|
|
fun f7() = Outer().Inner().InnerInner()
|