Browse Source

Added two TODOs for places that I'll need to adjust for inline specializations.

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

+ 2 - 0
compiler/pexpr.pas

@@ -1381,6 +1381,7 @@ implementation
                     exit;
                     exit;
                   end;
                   end;
                { if nothing found give error and return errorsym }
                { if nothing found give error and return errorsym }
+               { TODO : adjust this check for inline specializations }
                if assigned(srsym) and
                if assigned(srsym) and
                    not (
                    not (
                      { in case of an overloaded generic symbol we need to
                      { in case of an overloaded generic symbol we need to
@@ -2871,6 +2872,7 @@ implementation
                _GT :
                _GT :
                  p1:=caddnode.create(gtn,p1,p2);
                  p1:=caddnode.create(gtn,p1,p2);
                _LT :
                _LT :
+                 { TODO : hook in here for inline specialization }
                  p1:=caddnode.create(ltn,p1,p2);
                  p1:=caddnode.create(ltn,p1,p2);
                _GTE :
                _GTE :
                  p1:=caddnode.create(gten,p1,p2);
                  p1:=caddnode.create(gten,p1,p2);