mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 18:10:29 +02:00
* also check for nf_assign_done_in_right flag after typechecking the right side
git-svn-id: trunk@39118 -
This commit is contained in:
parent
22e8763100
commit
85439a0fa0
@ -596,6 +596,14 @@ implementation
|
|||||||
if codegenerror then
|
if codegenerror then
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
|
{ just in case the typecheckpass of right optimized something here }
|
||||||
|
if nf_assign_done_in_right in flags then
|
||||||
|
begin
|
||||||
|
result:=right;
|
||||||
|
right:=nil;
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
|
|
||||||
{ tp procvar support, when we don't expect a procvar
|
{ tp procvar support, when we don't expect a procvar
|
||||||
then we need to call the procvar }
|
then we need to call the procvar }
|
||||||
if (left.resultdef.typ<>procvardef) then
|
if (left.resultdef.typ<>procvardef) then
|
||||||
|
Loading…
Reference in New Issue
Block a user