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
427 B
Kotlin
Vendored
18 lines
427 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.<!INNER_CLASS_CONSTRUCTOR_NO_RECEIVER!>Inner<!>()
|
|
fun f5() = Outer.Inner.<!INNER_CLASS_CONSTRUCTOR_NO_RECEIVER!>InnerInner<!>()
|
|
fun f6() = Outer().Inner()
|
|
fun f7() = Outer().Inner().InnerInner()
|