Hi,
I keep getting this problem with the OverloadID attribute. I was not able to figure this one out.
type
ITest =
[<OverloadID("Add.string")>]
abstract Add : string -> unit
[<OverloadID("Add.int")>]
abstract Add : int -> unit
//--------------------------------------------
type
Test =
interface ITest with
[<OverloadID("Add.string")>]
member x.Add(text:string) = () // Compiler throws warning message
[<OverloadID("Add.int")>]
member x.Add(v:int) = () // Compiler throws warning message
end
//--------------------------------------------
I appreciate any help in sorting this out. Regards
Chris