Bug: Insert Missing Cases For Type Union #6549
Labels
bug
Something that is making a piece of functionality unusable
code action
Related to LSP code actions
fixed-upstream
Tag a ticket with this when a fix upstream has been completed and we can now address the ticket
Scala 3
Generic ticket relating to Scala 3
Milestone
Describe the bug
I used pattern matching for a string literal type union and encountered a very interesting bug, the generated code by VSCode after I hit "insert missing cases" is:
Screen_Recording_2024-06-27_at_17.16.54.mov
cc @kasiaMarek
Expected behavior
No weird characters are generated along with the actually singleton string.
Operating system
macOS
Editor/Extension
VS Code
Version of Metals
1.3.2+15-8bebd63c-SNAPSHOT
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: