瀏覽代碼

Fix a remaining artefact from the overloaded symbols approach (just a comment, but nevertheless a change...)

git-svn-id: branches/svenbarth/generics@19722 -
svenbarth 14 年之前
父節點
當前提交
35377bae67
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      compiler/ptype.pas

+ 1 - 2
compiler/ptype.pas

@@ -289,8 +289,7 @@ implementation
             def:=generrordef;
             exit;
           end;
-         { Give an error when referring to an errordef that does not have
-           generic overloads }
+         { Give an error when referring to an errordef }
          if (ttypesym(srsym).typedef.typ=errordef) then
           begin
             Message(sym_e_error_in_type_def);