mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:49:22 +02:00
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:
parent
86f1ca2037
commit
b2988ad8c0
@ -3964,6 +3964,8 @@ implementation
|
|||||||
do_member_read(structdef,getaddr,gensym,result,again,[],spezcontext);
|
do_member_read(structdef,getaddr,gensym,result,again,[],spezcontext);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
begin
|
||||||
|
if gensym.typ=procsym then
|
||||||
begin
|
begin
|
||||||
result:=nil;
|
result:=nil;
|
||||||
{ check if it's a method/class method }
|
{ check if it's a method/class method }
|
||||||
@ -3985,6 +3987,7 @@ implementation
|
|||||||
else
|
else
|
||||||
{ no procsyms in records (yet) }
|
{ no procsyms in records (yet) }
|
||||||
internalerror(2015092704);
|
internalerror(2015092704);
|
||||||
|
end;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user