mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:39:36 +02:00
* ttypeconvnode.typecheck_arrayconstructor_to_dynarray: the assignment node of the temp array to the resulting array always needs to exist, so remove the assigned() check
git-svn-id: trunk@36245 -
This commit is contained in:
parent
b78037f6f2
commit
0351369698
@ -1959,8 +1959,7 @@ implementation
|
|||||||
));
|
));
|
||||||
{ add assignment statememnts }
|
{ add assignment statememnts }
|
||||||
addstatement(newstatement,ctempdeletenode.create(temp2));
|
addstatement(newstatement,ctempdeletenode.create(temp2));
|
||||||
if assigned(assnode) then
|
addstatement(newstatement,assnode);
|
||||||
addstatement(newstatement,assnode);
|
|
||||||
{ the last statement should return the value as
|
{ the last statement should return the value as
|
||||||
location and type, this is done be referencing the
|
location and type, this is done be referencing the
|
||||||
temp and converting it first from a persistent temp to
|
temp and converting it first from a persistent temp to
|
||||||
|
Loading…
Reference in New Issue
Block a user