我該如何在這種類型中調用send(a:'T [])?F#獨特的過載方法
type Test() =
member o.send(value:'T) = 4
member o.send(values:'T []) = 5
let test = Test()
let b = test.send [|4|]
當我這樣做,我得到
A unique overload for method 'Send' could not be determined based on type information
prior to this program point. The available overloads are shown below...
點是MPI.NET得到了正是這種方法名爲Send,我不能夠發送一個數組進去。
謝謝
Oldrich
工作,謝謝! – 2010-11-08 08:58:52