mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-10 00:07:23 +01:00
Don't push the local symtable of the current module, but of that module the generic belongs to (should fix compilation error of Lazarus).
git-svn-id: trunk@19771 -
This commit is contained in:
parent
7fa365233b
commit
b240dc129f
@ -343,7 +343,7 @@ uses
|
||||
|
||||
{ push the localsymtable if needed }
|
||||
if (hmodule<>current_module) or not current_module.in_interface then
|
||||
symtablestack.push(current_module.localsymtable);
|
||||
symtablestack.push(hmodule.localsymtable);
|
||||
|
||||
{ push a temporary global symtable so that the specialization is
|
||||
added to the correct symtable; this symtable does not contain
|
||||
|
||||
Loading…
Reference in New Issue
Block a user