Explorar o código

Added two reminders for me

git-svn-id: branches/svenbarth/generics@17537 -
svenbarth %!s(int64=14) %!d(string=hai) anos
pai
achega
6d161298d5
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  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