Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F# VisualStudio 2022 text editor erases pipe of array expression closing bracket when issuing match in a for loop #18119

Open
smoothdeveloper opened this issue Dec 9, 2024 · 0 comments
Labels
Area-VS-Editor VS editor support for F# code, not covered elsewhere Bug Impact-High (Internal MS Team use only) Describes an issue with extreme impact on existing code.
Milestone

Comments

@smoothdeveloper
Copy link
Contributor

When I type the following bars expression from scratch, at the moment I enter the | for the match expression, it brings back the |] closing bracket and makes it look like I didn't type |.

let foos = [|1..100|]
let bars = 
  [|
    for f in foos do
      match f with
      |
  |]

The issue is in 17.2.0 preview 5.0

This works properly in 17.11.5.

@github-actions github-actions bot added this to the Backlog milestone Dec 9, 2024
@T-Gro T-Gro added Impact-High (Internal MS Team use only) Describes an issue with extreme impact on existing code. Area-VS-Editor VS editor support for F# code, not covered elsewhere and removed Needs-Triage labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-VS-Editor VS editor support for F# code, not covered elsewhere Bug Impact-High (Internal MS Team use only) Describes an issue with extreme impact on existing code.
Projects
Status: New
Development

No branches or pull requests

2 participants