type Foo = FooValue of int
with
member x.Value = match x with | FooValue v -> v
type Data<'t>(d: 't) =
member x.Data = d
let a = [|FooValue 1;FooValue 2|] |> Array.map Data
a.[0].Data. // try autcomplete after the dot
((FooValue 1) |> Data).Data. // note that here it works
I'd expect being able to complete after the dot, it should show Value member and other members from System.Object.
When I'm not accessing the value from an indexer, it somehow works.
Environment: VS2017, does the same in ionide as well
I'd expect being able to complete after the dot, it should show Value member and other members from
System.Object.When I'm not accessing the value from an indexer, it somehow works.
Environment: VS2017, does the same in ionide as well