소스 검색

* correct comment, cause forward declarations for generic functions *do* indeed work (cause they use the same mechanism as forward definitions in the interface section)

git-svn-id: trunk@35093 -
svenbarth 8 년 전
부모
커밋
d133f210ca
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      compiler/pdecsub.pas

+ 1 - 2
compiler/pdecsub.pas

@@ -3371,8 +3371,7 @@ const
             - proc declared in interface of unit (or in class/record/object)
             - proc declared in interface of unit (or in class/record/object)
               and defined in implementation; here the fwpd might contain
               and defined in implementation; here the fwpd might contain
               constraints while currpd must only contain undefineddefs
               constraints while currpd must only contain undefineddefs
-            - forward declaration in implementation; this case is not supported
-              right now }
+            - forward declaration in implementation }
           foundretdef:=false;
           foundretdef:=false;
           for i:=0 to fwpd.genericparas.count-1 do
           for i:=0 to fwpd.genericparas.count-1 do
             begin
             begin