mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 07:09:29 +02:00
* when creating the static field of a generic, insert it into the generic instead of the global symtable as it isn't really used anyway
git-svn-id: trunk@43542 -
This commit is contained in:
parent
06fc84037c
commit
a041f899d3
@ -1394,7 +1394,10 @@ implementation
|
||||
hstaticvs.visibility:=fieldvs.visibility;
|
||||
{$else jvm}
|
||||
include(hstaticvs.symoptions,sp_internal);
|
||||
tabstractrecordsymtable(recst).get_unit_symtable.insert(hstaticvs);
|
||||
if df_generic in tdef(recst.defowner).defoptions then
|
||||
tabstractrecordsymtable(recst).insert(hstaticvs)
|
||||
else
|
||||
tabstractrecordsymtable(recst).get_unit_symtable.insert(hstaticvs);
|
||||
{$endif jvm}
|
||||
{ generate the symbol for the access }
|
||||
sl:=tpropaccesslist.create;
|
||||
|
Loading…
Reference in New Issue
Block a user