Delphi Internal Error L681

Although this specific example doesn't reproduce the problem in a small project, this caused the problem in a larger project. The function was defined as follows:

 

interface 
function CompareItemEqualStatus(const Value1:TSomeEnumeratedType;
const Value2: TSomeEnumeratedType): Integer;
implementation
function CompareItemEqualStatus(const Value1: TSomeEnumeratedType;
const Value2: TSomeEnumeratedType): Integer; overload; 
begin
... 
end;
overload问题
 
The function was defined with overload but there was no second function that was overloaded. Removing "overload" fixed the problem.
posted on 2014-06-26 16:49  Values  阅读(467)  评论(0编辑  收藏  举报