소스 검색

Added two reminders for me

git-svn-id: branches/svenbarth/generics@17537 -
svenbarth 14 년 전
부모
커밋
6d161298d5
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compiler/pdecobj.pas
  2. 1 0
      compiler/pexpr.pas

+ 1 - 0
compiler/pdecobj.pas

@@ -308,6 +308,7 @@ implementation
           begin
              { use single_type instead of id_type for specialize support }
              single_type(hdef,[stoAllowSpecialization,stoParseClassParent]);
+             { TODO : handle a generic interface }
              if (hdef.typ<>objectdef) then
                begin
                   if intf then

+ 1 - 0
compiler/pexpr.pas

@@ -1916,6 +1916,7 @@ implementation
                { check hints if it is the final symbol that is used (e.g. in
                  case of generics only the dummy symbol or the non-generic one
                  is found here }
+               { TODO : correct this check }
                if assigned(srsym) and
                    not (
                      typeonly and (srsym.typ=typesym) and