[PL] Fix: Allow IrEnumConstructorCall with constructed class with kind=ENUM_ENTRY
This commit is contained in:
committed by
Space Team
parent
66532d714e
commit
0f17191e0e
@@ -207,4 +207,7 @@ fun box() = abiTest {
|
||||
expectSuccess { getFunctionalInterfaceToInterface(); "OK" }
|
||||
|
||||
expectFailure(linkage("Constructor 'ClassToAbstractClass.<init>' can not be called: Can not instantiate abstract class 'ClassToAbstractClass'")) { instantiationOfAbstractClass() }
|
||||
|
||||
expectSuccess { StableEnum.FOO.test }
|
||||
expectSuccess { StableEnum.BAR.test }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user