[IR] Fix isProperExpect for IrTypeParameter
This commit is contained in:
committed by
Space Team
parent
f17e1314f6
commit
15ad9d134c
+1
-1
@@ -20,6 +20,6 @@ val IrDeclaration.isProperExpect: Boolean
|
||||
get() = this is IrClass && isExpect ||
|
||||
this is IrFunction && isExpect ||
|
||||
this is IrProperty && isExpect ||
|
||||
(this is IrClass || this is IrFunction || this is IrProperty || this is IrConstructor || this is IrEnumEntry)
|
||||
(this is IrClass || this is IrFunction || this is IrProperty || this is IrEnumEntry || this is IrTypeParameter)
|
||||
&& (this.parent as? IrDeclaration)?.isProperExpect ?: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user