K2: use correct scope for overrides calculation in ObjCName checker
To call retrieveDirectOverriddenOf, one must use directly the owner scope of a callable symbol we consider, and not a scope of some derived class. #KT-64276 Fixed
This commit is contained in:
committed by
Space Team
parent
e4c244d5db
commit
3d560cd92c
@@ -195,7 +195,7 @@ interface DerivedI1 : I1 {
|
||||
override fun foo()
|
||||
}
|
||||
|
||||
<!INCOMPATIBLE_OBJC_NAME_OVERRIDE!>abstract class KT64276 : Base(), DerivedI1 {}<!>
|
||||
abstract class KT64276 : Base(), DerivedI1 {}
|
||||
|
||||
private const val exact = false
|
||||
private const val objcName = "nonLiteralArgsObjC"
|
||||
|
||||
Reference in New Issue
Block a user