소스 검색

objcdef: remove duplicate variant start check

Jonas Maebe 3 년 전
부모
커밋
5d02c65425
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      compiler/objcdef.pas

+ 0 - 2
compiler/objcdef.pas

@@ -123,8 +123,6 @@ implementation
                       end;
                     if (varindex<0) then
                       internalerror(2009081805);
-                    if (tfieldvarsym(variantstarts[varindex]).fieldoffset<>field.fieldoffset) then
-                      internalerror(2009081804);
 
                     { variant at the same level as a previous one }
                     variantstarts.count:=varindex+1;