[FIR2IR] Properly calculate dispatch receiver type for fake overrides
If some function is not fake-override, then its type should be just default type of containing class For fake overrides the default type calculated in the following way: 1. Find first overridden function, which is not fake override 2. Take its containing class 3. Find supertype of current containing class with type constructor of class from step 2 ^KT-60252 Fixed
This commit is contained in:
committed by
Space Team
parent
e28f97cf6d
commit
d4f55894b4
@@ -31,6 +31,8 @@ object StandardNames {
|
||||
@JvmField val DATA_CLASS_COMPONENT_PREFIX = "component"
|
||||
|
||||
@JvmField val HASHCODE_NAME = Name.identifier("hashCode")
|
||||
@JvmField val TO_STRING_NAME = Name.identifier("toString")
|
||||
@JvmField val EQUALS_NAME = Name.identifier("equals")
|
||||
|
||||
@JvmField val CHAR_CODE = Name.identifier("code")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user