[FIR] Fix FIR2IR Types on SetVariable Expressions
This commit is contained in:
committed by
Dmitry Petrov
parent
1e7f8ea037
commit
4f36e2ccfc
@@ -1029,7 +1029,7 @@ class Fir2IrVisitor(
|
||||
}
|
||||
is IrVariableSymbol -> {
|
||||
IrSetVariableImpl(
|
||||
startOffset, endOffset, symbol.owner.type, symbol, variableAssignment.rValue.toIrExpression(), null
|
||||
startOffset, endOffset, irBuiltIns.unitType, symbol, variableAssignment.rValue.toIrExpression(), null
|
||||
)
|
||||
}
|
||||
else -> generateErrorCallExpression(startOffset, endOffset, calleeReference)
|
||||
|
||||
Reference in New Issue
Block a user