pexpr.pas, sub_expr:

* generate_inline_specialization: fix Delphi-style inline specializations of generic methods

git-svn-id: trunk@32438 -
This commit is contained in:
svenbarth 2015-11-21 15:59:11 +00:00
parent 86f1ca2037
commit b2988ad8c0

View File

@ -3964,6 +3964,8 @@ implementation
do_member_read(structdef,getaddr,gensym,result,again,[],spezcontext);
end
else
begin
if gensym.typ=procsym then
begin
result:=nil;
{ check if it's a method/class method }
@ -3985,6 +3987,7 @@ implementation
else
{ no procsyms in records (yet) }
internalerror(2015092704);
end;
end
else
begin