mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 18:50:37 +02:00
fcl-passrc: analyzer: use methods with message modifier
git-svn-id: trunk@41586 -
This commit is contained in:
parent
45b0446f8c
commit
91c6b86a82
@ -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
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user