Explorar o código

* fixed compilation after introduction of strict class type checking
for var/out parameters

git-svn-id: branches/objc@13597 -

Jonas Maebe %!s(int64=16) %!d(string=hai) anos
pai
achega
8def2c2ac3
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      compiler/nobjc.pas
  2. 1 1
      compiler/objcutil.pas

+ 1 - 1
compiler/nobjc.pas

@@ -231,7 +231,7 @@ function tobjcmessagesendnode.pass_1: tnode;
     msgsendname: string;
     msgsendname: string;
     newparas,
     newparas,
     para: tcallparanode;
     para: tcallparanode;
-    block: tblocknode;
+    block: tnode;
     statements: tstatementnode;
     statements: tstatementnode;
     temp: ttempcreatenode;
     temp: ttempcreatenode;
     objcsupertype: tdef;
     objcsupertype: tdef;

+ 1 - 1
compiler/objcutil.pas

@@ -67,7 +67,7 @@ implementation
 
 
     function objcsuperclassnode(def: tobjectdef): tnode;
     function objcsuperclassnode(def: tobjectdef): tnode;
       var
       var
-        block: tblocknode;
+        block: tnode;
         statements: tstatementnode;
         statements: tstatementnode;
         para: tcallparanode;
         para: tcallparanode;
       begin
       begin