ijklam
ijklam
> 'open in type' would then be a second part of the RFC, waiting to be implemented (by anyone brave enough to tackle it). Actually the syntax node of "open...
It seems that the later 0 was recgonized as a method. In vscode we can see
Actually this need the compiler([dotnet/fsharp](https://github.com/dotnet/fsharp)) to be fixed first, since they recgonized parameter name as normal value name.
> ... and would be ideal if we could merge this into anonymous records, so that named dotnet ValueTuples are the implementation of F# anonymous records. Actually anonymous records can...
There are 59 methods (230 method overrides in total) returning `ValueTuple`s as result in the BCL. |Index|Method name|Overrides count| |-|-|-| |1|System.TupleExtensions.ToValueTuple|21| |2|System.Runtime.Intrinsics.Arm.AdvSimd.LoadAndInsertScalar|21| |3|System.Math.DivRem|10| |4|System.Runtime.Intrinsics.Arm.Sve.Load4xVectorAndUnzip|10| |5|System.Runtime.Intrinsics.Arm.Sve.Load3xVectorAndUnzip|10| |6|System.Runtime.Intrinsics.Arm.Sve.Load2xVectorAndUnzip|10| |7|System.ValueTuple.Create|9| |8|System.Runtime.Intrinsics.Arm.AdvSimd.LoadAndReplicateToVector64x3|7| |9|System.Runtime.Intrinsics.Vector512.Widen|7| |10|System.Runtime.Intrinsics.Vector64.Widen|7|...
This also should be applicable to struct constructors. For example: ```fsharp [] type A = val mutable a: string val b: int new (a, b) = { a; b }...
> It is a problem on tooling side, which can and should be fixed in tooling. I remember [fixing it](https://github.com/ionide/FsAutoComplete/pull/678#issuecomment-743265240) in FSAC, but it seems to be broken again Yes...
We can go further. When a function/method's parameter has the same name as a property of the returned object, there should also be a way to distinguish them: use `~x=1`...