mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 20:49:06 +02:00
fcl-passrc: comments
git-svn-id: trunk@46919 -
(cherry picked from commit 56fbaf23da
)
This commit is contained in:
parent
dd77a5e4a0
commit
a7a216494c
@ -6719,7 +6719,7 @@ begin
|
||||
if TPasClassType(LastType).ObjKind<>okInterface then
|
||||
RaiseCannotBeTogether(20190720211304,LastType.Name,MemberType.Name);
|
||||
end;
|
||||
end
|
||||
end;
|
||||
else
|
||||
RaiseXIsNotAValidConstraint(20190720210919,MemberType.Name);
|
||||
end;
|
||||
@ -7480,7 +7480,7 @@ begin
|
||||
if (ClassOrRecScope is TPasClassScope)
|
||||
and (TPasClassScope(ClassOrRecScope).CanonicalClassOf<>nil) then
|
||||
begin
|
||||
// 'Self' in a method is the hidden classtype argument
|
||||
// 'Self' in a class method is the hidden classtype argument
|
||||
// Note: this is true in classes, adv records and helpers
|
||||
SelfArg:=TPasArgument.Create('Self',DeclProc);
|
||||
ImplProcScope.SelfArg:=SelfArg;
|
||||
|
Loading…
Reference in New Issue
Block a user