fcl-passrc: analyzer: use methods with message modifier

git-svn-id: trunk@41586 -
This commit is contained in:
Mattias Gaertner 2019-03-04 11:44:00 +00:00
parent 45b0446f8c
commit 91c6b86a82
2 changed files with 6 additions and 0 deletions

View File

@ -2115,6 +2115,11 @@ begin
end;
//writeln('TPasAnalyzer.UseClassType ',El.FullName,' ',Mode,' ',Member.Name);
end;
if Proc.MessageExpr<>nil then
begin
UseProcedure(Proc);
continue;
end;
end
else if Member.ClassType=TPasAttributes then
continue; // attributes are never used directly

View File

@ -9995,6 +9995,7 @@ begin
' doit(vc,vc,vl,vl);',
' doit(vv,vv,vv,vv);',
' doit(vl,vl,vl,vl);',
//' TRecord(U).i:=3;',
'end;',
'var i: TRecord;',
'begin',