Explorar o código

* do_member_read() takes ownership of the specialization context, so Nil it after the call

git-svn-id: trunk@39559 -
svenbarth %!s(int64=7) %!d(string=hai) anos
pai
achega
0aee319fdb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      compiler/pexpr.pas

+ 1 - 0
compiler/pexpr.pas

@@ -4119,6 +4119,7 @@ implementation
                   internalerror(2015092703);
               end;
               do_member_read(structdef,getaddr,gensym,result,again,[],spezcontext);
+              spezcontext:=nil;
             end
           else
             begin