mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 20:46:00 +02:00
* fixed writing jvm type for string constants after r22020
git-svn-id: trunk@22123 -
This commit is contained in:
parent
1c80388e00
commit
b353a2ff27
@ -929,7 +929,8 @@ implementation
|
|||||||
begin
|
begin
|
||||||
csym:=tconstsym(sym);
|
csym:=tconstsym(sym);
|
||||||
{ some constants can be untyped }
|
{ some constants can be untyped }
|
||||||
if assigned (csym.constdef) then
|
if assigned(csym.constdef) and
|
||||||
|
not(csym.consttyp in [constwstring,conststring]) then
|
||||||
begin
|
begin
|
||||||
result:=jvmencodetype(csym.constdef,false);
|
result:=jvmencodetype(csym.constdef,false);
|
||||||
if withsignature and
|
if withsignature and
|
||||||
|
Loading…
Reference in New Issue
Block a user