mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 09:09:30 +02:00
* correctly add an extra [ to the type of call-by-reference parameters that
are translated into arrays by the compiler (for the debug information) git-svn-id: branches/jvmbackend@18630 -
This commit is contained in:
parent
b50bd9534d
commit
a3bd8cb0ba
@ -523,6 +523,12 @@ implementation
|
||||
result:='''result'' '+result
|
||||
else
|
||||
begin
|
||||
{ add array indirection if required }
|
||||
if (vsym.typ=paravarsym) and
|
||||
(vsym.vardef.typ=formaldef) or
|
||||
((vsym.varspez in [vs_var,vs_out,vs_constref]) and
|
||||
not jvmimplicitpointertype(vsym.vardef)) then
|
||||
result:='['+result;
|
||||
{ single quotes for definitions to prevent clashes with Java
|
||||
opcodes }
|
||||
if withsignature then
|
||||
|
Loading…
Reference in New Issue
Block a user