[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:
Dmitriy Novozhilov
2023-06-06 17:26:41 +03:00
committed by Space Team
parent ba41e8ec38
commit 8b9079d026
8 changed files with 22 additions and 59 deletions
@@ -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