Sfoglia il codice sorgente

* for variant dispatch calls, use the parameter name in source case, not upper case

git-svn-id: trunk@49480 -
svenbarth 4 anni fa
parent
commit
6e4984184b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      compiler/pexpr.pas

+ 1 - 1
compiler/pexpr.pas

@@ -2989,7 +2989,7 @@ implementation
                   (token=_ASSIGNMENT) then
                   begin
                     found_arg_name:=true;
-                    p1:=cstringconstnode.createstr(storedpattern);
+                    p1:=cstringconstnode.createstr(orgstoredpattern);
                     consume(_ASSIGNMENT);
                     exit;
                   end;