pgenutil.pas, generate_specialization_phase2:

* ensure that the owner of the newly greated def is set to the symtable we specialize in (happens with generic routines)

git-svn-id: trunk@33825 -
This commit is contained in:
svenbarth 2016-05-26 18:37:37 +00:00
parent f8def6dbc9
commit 2f6a1c01ba

View File

@ -1069,6 +1069,9 @@ uses
tempst.free;
specialization_done(state);
if not assigned(result.owner) then
result.changeowner(specializest);
end;
generictypelist.free;