[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
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// 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<!>()
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_IDENTICAL
|
||||
// KT-4827 UOE at PackageType.throwException()
|
||||
// EA-53605
|
||||
|
||||
|
||||
Reference in New Issue
Block a user