Open
Description
Details
I propose we add a code fix for adding missing seq
before {…}
. This is related to a language suggestion [Deprecate { start..finish } and { start..step..finish }] (fsharp/fslang-suggestions#1033) implemented in dotnet/fsharp#17772 which is currently in preview
- Similar to the VS dotnet/fsharp@0795506
Before
let xs = { 1..10 }
let xs = { 1; 10 }
let xs = id { 1..10 }
let xs = id { 1; 10 }
let xs =
id {
1..10
}
let xs =
id {
1; 10
}
After
let xs = seq { 1..10 }
let xs = seq { 1; 10 }
let xs = id (seq { 1..10 })
let xs = id (seq { 1; 10 })
let xs =
id (seq {
1..10
})
let xs =
id (seq {
1; 10
})
Checklist
- I have looked through existing issues to make sure that this feature has not been requested before
- I have provided a descriptive title for this issue
- I am aware that even valid feature requests may be rejected if they do not align with the project's goals
- I or my company would be willing to contribute this feature