소스 검색

compiler: extend internal error 200305061 check for records

git-svn-id: trunk@16630 -
paul 14 년 전
부모
커밋
cdca5f42b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/ncal.pas

+ 1 - 1
compiler/ncal.pas

@@ -2959,7 +2959,7 @@ implementation
           begin
             { When this is method the methodpointer must be available }
             if (right=nil) and
-               (procdefinition.owner.symtabletype=ObjectSymtable) and
+               (procdefinition.owner.symtabletype in [ObjectSymtable,recordsymtable]) and
                not procdefinition.no_self_node then
               internalerror(200305061);
           end;