mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 10:45:08 +02:00
* handle indexing implicit pointer types on llvm
git-svn-id: trunk@30723 -
This commit is contained in:
parent
98c5f7d20f
commit
864f9b24cc
@ -143,7 +143,9 @@ implementation
|
||||
locref:=nil;
|
||||
{ avoid uninitialised warning }
|
||||
arrptrelementdef:=nil;
|
||||
if not arraytopointerconverted then
|
||||
if not arraytopointerconverted and
|
||||
not is_dynamicstring(left.resultdef) and
|
||||
not is_dynamic_array(left.resultdef) then
|
||||
begin
|
||||
{ the result is currently a pointer to left.resultdef (the array type)
|
||||
-> convert it into a pointer to an element inside this array }
|
||||
|
Loading…
Reference in New Issue
Block a user