Files
Brian Norman 0ff9982b31 [FIR] Additional errors to distinguish resolution to classifier cases
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
2023-06-16 16:26:50 +00:00

17 lines
248 B
Kotlin
Vendored

// KT-4827 UOE at PackageType.throwException()
// EA-53605
public interface TestInterface {
}
class C {
inner class I {
}
}
fun f() {
<!INTERFACE_AS_FUNCTION!>TestInterface<!>()
C.<!INNER_CLASS_CONSTRUCTOR_NO_RECEIVER!>I<!>()
}