mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 14:49:10 +02:00
* cast hsym with the correct type, should resolve issue #28862
git-svn-id: trunk@32125 -
This commit is contained in:
parent
ad28a21b45
commit
0ffe6157a8
@ -2207,7 +2207,7 @@ implementation
|
||||
{ iso mode program parameters: staticvarsyms might have the same name as a program parameters,
|
||||
in this case, copy the isoindex and make the original symbol invisible }
|
||||
else if (m_iso in current_settings.modeswitches) and (hsym.typ=programparasym) and (sym.typ=staticvarsym)
|
||||
and (tstaticvarsym(hsym).isoindex<>0) then
|
||||
and (tprogramparasym(hsym).isoindex<>0) then
|
||||
begin
|
||||
HideSym(hsym);
|
||||
tstaticvarsym(sym).isoindex:=tprogramparasym(hsym).isoindex;
|
||||
|
Loading…
Reference in New Issue
Block a user