13
該單元發生故障在XE2更新3編譯用 「[DCC致命錯誤] Test.pas(22):F2084內部錯誤:URW1147」當我聲明一個通用的「T數組」時,應該如何處理內部錯誤?
unit Test;
interface
type
TSorter<T> = procedure(var Values: array of T);
TTest = class
public
procedure Sort<T>(const Sorter: TSorter<T>);
end;
implementation
procedure TTest.Sort<T>(const Sorter: TSorter<T>);
begin
end;
end.
我已經提交了一份QC報告:QC#103671。
有沒有人對此有解決方法的想法?
此解決方法也適用於XE2。謝謝! – BofA 2012-02-24 11:46:57