mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-23 12:09:39 +01:00
* extended r21290 to also apply to Java interfaces (they can also contain
constants) git-svn-id: trunk@21297 -
This commit is contained in:
parent
9ba5267b61
commit
0fd9228deb
@ -1427,7 +1427,7 @@ implementation
|
|||||||
but in const blocks too. to make this possible we need to set
|
but in const blocks too. to make this possible we need to set
|
||||||
their symbols to real defs instead of errordef }
|
their symbols to real defs instead of errordef }
|
||||||
|
|
||||||
if assigned(objsym) and (objecttype in [odt_class,odt_javaclass]) then
|
if assigned(objsym) and (objecttype in [odt_class,odt_javaclass,odt_interfacejava]) then
|
||||||
begin
|
begin
|
||||||
olddef:=ttypesym(objsym).typedef;
|
olddef:=ttypesym(objsym).typedef;
|
||||||
ttypesym(objsym).typedef:=current_structdef;
|
ttypesym(objsym).typedef:=current_structdef;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user