mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 20:39:34 +02:00
* tarraydef.setelementdef: don't call size for array constructors as they'll only have one once they're converted to dynamic arrays
git-svn-id: trunk@36089 -
This commit is contained in:
parent
16b44b0719
commit
5f8135dd84
@ -3866,6 +3866,7 @@ implementation
|
||||
if not(
|
||||
(ado_IsDynamicArray in arrayoptions) or
|
||||
(ado_IsConvertedPointer in arrayoptions) or
|
||||
(ado_IsConstructor in arrayoptions) or
|
||||
(highrange<lowrange)
|
||||
) and
|
||||
(size=-1) then
|
||||
|
Loading…
Reference in New Issue
Block a user