mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-31 14:42:53 +02:00
* minor hint and warning improvements
git-svn-id: trunk@15868 -
This commit is contained in:
parent
9fd7c6fc63
commit
b30c284b08
@ -3204,6 +3204,13 @@ begin
|
||||
if CurToken = tkBraceOpen then
|
||||
begin
|
||||
TPasClassType(Result).AncestorType := ParseType(nil);
|
||||
{$ifdef Inheritancewarnings}
|
||||
s:=TPasClassType(Result).AncestorType.pathname;
|
||||
if pos('#',s)=0 then
|
||||
begin
|
||||
writeln('Note: ', TPasClassType(Result).pathname,'''s ancestor ',s, ' at ',sourcefilename,':',sourcelinenumber,' cannot be resolved fully');
|
||||
end;
|
||||
{$endif}
|
||||
while True do
|
||||
begin
|
||||
NextToken;
|
||||
|
@ -754,7 +754,7 @@ var
|
||||
|
||||
for j:= 0 to inhclass.count-1 do
|
||||
begin
|
||||
writeln('processing',inhclass[j]);
|
||||
// writeln('processing',inhclass[j]);
|
||||
cls2:=TPasClassType(ResolveClassType(inhclass[j]));
|
||||
if assigned(cls2) and not (cls=cls2) then // save from tobject=implicit tobject
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user