浏览代码

* report correct location of classes that miss method implementations for
interfaces/protocols they implement/conform to

git-svn-id: trunk@15410 -

Jonas Maebe 15 年之前
父节点
当前提交
6e12de117b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/nobj.pas

+ 1 - 1
compiler/nobj.pas

@@ -500,7 +500,7 @@ implementation
                 else
                 else
                   if (ImplIntf.IType=etStandard) and
                   if (ImplIntf.IType=etStandard) and
                      not(po_optional in tprocdef(def).procoptions) then
                      not(po_optional in tprocdef(def).procoptions) then
-                    Message1(sym_e_no_matching_implementation_found,tprocdef(def).fullprocname(false));
+                    MessagePos1(_Class.typesym.fileinfo,sym_e_no_matching_implementation_found,tprocdef(def).fullprocname(false));
               end;
               end;
           end;
           end;
       end;
       end;