[Expect/Actual] Add ability to skip matching of constructors of expect enums
In terms of MPP there are no such thing as `expect constructor` for enums, but they are physically exist in FIR and IR, so we need a switch which skips matching for them FE 1.0 implementation did not touch to avoid any hidden changes
This commit is contained in:
committed by
Space Team
parent
ba41e8ec38
commit
8b9079d026
+3
@@ -77,6 +77,9 @@ internal abstract class IrExpectActualMatchingContext(
|
||||
override val innerClassesCapturesOuterTypeParameters: Boolean
|
||||
get() = false
|
||||
|
||||
override val enumConstructorsAreAlwaysCompatible: Boolean
|
||||
get() = true
|
||||
|
||||
override val RegularClassSymbolMarker.classId: ClassId
|
||||
get() = asIr().classIdOrFail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user