Browse Source

Added two reminders for me

git-svn-id: branches/svenbarth/generics@17537 -
svenbarth 14 years ago
parent
commit
6d161298d5
2 changed files with 2 additions and 0 deletions
  1. 1 0
      compiler/pdecobj.pas
  2. 1 0
      compiler/pexpr.pas

+ 1 - 0
compiler/pdecobj.pas

@@ -308,6 +308,7 @@ implementation
           begin
           begin
              { use single_type instead of id_type for specialize support }
              { use single_type instead of id_type for specialize support }
              single_type(hdef,[stoAllowSpecialization,stoParseClassParent]);
              single_type(hdef,[stoAllowSpecialization,stoParseClassParent]);
+             { TODO : handle a generic interface }
              if (hdef.typ<>objectdef) then
              if (hdef.typ<>objectdef) then
                begin
                begin
                   if intf then
                   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
                { 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
                  case of generics only the dummy symbol or the non-generic one
                  is found here }
                  is found here }
+               { TODO : correct this check }
                if assigned(srsym) and
                if assigned(srsym) and
                    not (
                    not (
                      typeonly and (srsym.typ=typesym) and
                      typeonly and (srsym.typ=typesym) and