[IR] Fix IrPropertyReference for delegated property
- Make sure that property CR passed to `getValue` doesn't have type arguments.
This commit is contained in:
+1
-1
@@ -478,7 +478,7 @@ class ReflectionReferencesGenerator(statementGenerator: StatementGenerator) : St
|
||||
return IrPropertyReferenceImpl(
|
||||
startOffset, endOffset, type.toIrType(),
|
||||
originalSymbol,
|
||||
propertyDescriptor.typeParametersCount,
|
||||
if (typeArguments != null) propertyDescriptor.typeParametersCount else 0,
|
||||
getFieldForPropertyReference(originalProperty),
|
||||
originalGetter?.let { context.symbolTable.referenceSimpleFunction(it) },
|
||||
originalSetter?.let { context.symbolTable.referenceSimpleFunction(it) },
|
||||
|
||||
Reference in New Issue
Block a user