Browse Source

fcl-passrc: comments

git-svn-id: trunk@46919 -
Mattias Gaertner 4 years ago
parent
commit
56fbaf23da
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-passrc/src/pasresolver.pp

+ 2 - 2
packages/fcl-passrc/src/pasresolver.pp

@@ -6719,7 +6719,7 @@ begin
               if TPasClassType(LastType).ObjKind<>okInterface then
               if TPasClassType(LastType).ObjKind<>okInterface then
                 RaiseCannotBeTogether(20190720211304,LastType.Name,MemberType.Name);
                 RaiseCannotBeTogether(20190720211304,LastType.Name,MemberType.Name);
               end;
               end;
-            end
+            end;
           else
           else
             RaiseXIsNotAValidConstraint(20190720210919,MemberType.Name);
             RaiseXIsNotAValidConstraint(20190720210919,MemberType.Name);
           end;
           end;
@@ -7480,7 +7480,7 @@ begin
       if (ClassOrRecScope is TPasClassScope)
       if (ClassOrRecScope is TPasClassScope)
           and (TPasClassScope(ClassOrRecScope).CanonicalClassOf<>nil) then
           and (TPasClassScope(ClassOrRecScope).CanonicalClassOf<>nil) then
         begin
         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
         // Note: this is true in classes, adv records and helpers
         SelfArg:=TPasArgument.Create('Self',DeclProc);
         SelfArg:=TPasArgument.Create('Self',DeclProc);
         ImplProcScope.SelfArg:=SelfArg;
         ImplProcScope.SelfArg:=SelfArg;