mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 08:29:32 +01:00
* extra typecasts to more easily catch errors with -CR if some defs are
not properly re-resolved (no change in generated code without -CR) git-svn-id: trunk@14619 -
This commit is contained in:
parent
0b7e3d14e4
commit
d4864854cc
@ -434,7 +434,9 @@ unit optvirt;
|
||||
for i:=0 to node.def.vmtentries.count-1 do
|
||||
begin
|
||||
currnode:=node;
|
||||
pd:=pvmtentry(currnode.def.vmtentries[i])^.procdef;
|
||||
{ extra tprocdef(tobject(..)) typecasts so that -CR can catch
|
||||
errors in case the vmtentries are not properly (re)deref'd }
|
||||
pd:=tprocdef(tobject(pvmtentry(currnode.def.vmtentries[i])^.procdef));
|
||||
{ abstract methods cannot be called directly }
|
||||
if (po_abstractmethod in pd.procoptions) then
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user