mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-05 05:18:40 +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
|
||||
csym:=tconstsym(sym);
|
||||
{ some constants can be untyped }
|
||||
if assigned (csym.constdef) then
|
||||
if assigned(csym.constdef) and
|
||||
not(csym.consttyp in [constwstring,conststring]) then
|
||||
begin
|
||||
result:=jvmencodetype(csym.constdef,false);
|
||||
if withsignature and
|
||||
|
Loading…
Reference in New Issue
Block a user