<div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div><div>Fpc: 3.0<br></div><div><br></div>Should the compiler to allow the definition of two operator overloading with the same parameters and diferent result types?<br><br></div>e.g:<br><br></div>==== code ====<br><br></div><div>  TMyRecord<T> record<br></div><div>     class operator Implicit(A: TMyRecord<T>): Real;<br>     class operator Implicit(A: TMyRecord<T>): Integer;</div><div>  end;<br></div><div><br></div>==== end ====<br><br></div>The code above doesn't compile. Error: function is already declared Public/Forward operator.<br><br><br></div>Best reagrds<br><br><div><br><br></div></div>