* fixed writing jvm type for string constants after r22020

git-svn-id: trunk@22123 -
This commit is contained in:
Jonas Maebe 2012-08-19 13:47:50 +00:00
parent 1c80388e00
commit b353a2ff27

View File

@ -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