mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 13:38:00 +02:00
codetools: workaround until CalculateBinaryOperator supports alias types
git-svn-id: trunk@38195 -
This commit is contained in:
parent
fa30c0d956
commit
51c7a42e32
@ -5941,6 +5941,12 @@ var
|
||||
Params);
|
||||
// put result on stack
|
||||
ExprStack[StackPtr-1]:=ExprStack[StackPtr];
|
||||
|
||||
// ToDo: handle alias in CalculateBinaryOperator
|
||||
// => Workaround:
|
||||
if NewOperand.Desc<>ExprStack[StackPtr-1].Operand.Desc then
|
||||
ExprStack[StackPtr-1].AliasType:=CleanFindContext; // reset alias type
|
||||
|
||||
dec(StackPtr);
|
||||
ExprStack[StackPtr].Operand:=NewOperand;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user