2
0
Эх сурвалжийг харах

* set totypedef correctly when converting @class.classmethod to a procvar
of object in FPC mode (for llvm)

git-svn-id: trunk@38863 -

Jonas Maebe 7 жил өмнө
parent
commit
eaafb166ad
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      compiler/ncnv.pas

+ 1 - 0
compiler/ncnv.pas

@@ -908,6 +908,7 @@ implementation
                not assigned(tloadnode(fromnode).left) then
               tloadnode(fromnode).set_mp(cloadvmtaddrnode.create(ctypenode.create(tdef(tloadnode(fromnode).symtable.defowner))));
             fromnode:=ctypeconvnode.create_proc_to_procvar(fromnode);
+            ttypeconvnode(fromnode).totypedef:=todef;
             typecheckpass(fromnode);
             ttypeconvnode(hp).left:=nil;
             hp.free;