|
@@ -3823,7 +3823,7 @@ implementation
|
|
with generic types as arguments we don't complain in
|
|
with generic types as arguments we don't complain in
|
|
the generic, but only during the specialization }
|
|
the generic, but only during the specialization }
|
|
ignoregenericparacall:=false;
|
|
ignoregenericparacall:=false;
|
|
- if df_generic in current_procinfo.procdef.defoptions then
|
|
|
|
|
|
+ if assigned(current_procinfo) and (df_generic in current_procinfo.procdef.defoptions) then
|
|
begin
|
|
begin
|
|
pt:=tcallparanode(left);
|
|
pt:=tcallparanode(left);
|
|
while assigned(pt) do
|
|
while assigned(pt) do
|