-
Notifications
You must be signed in to change notification settings - Fork 90
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
"Redundant bracket" quickfix deletes first line of file #1183
Comments
FYI this is not really an issue with vscode-haskell - it more closely related to haskell-language-server, which contains hlint plugin, which in turn uses apply-refact library to apply automatic fixes to some hlint warnings. |
Hi, thank you for bug report! I think the same issue is reported at haskell/haskell-language-server#4143 |
Thanks, didn't realize to check those repos. |
No worries! I am closing this as a duplicate of haskell/haskell-language-server#4143, though. Feel free to reopen or open other issues if you think we've missed something! |
Type: Bug
To reproduce:
Create a new file with
Mouseover the redundant brackets > Quick fix > Apply hint: redundant bracket
Expected: the brackets get deleted
Actual: The first line of the file gets deleted also.
Extension version: 2.4.4
VS Code version: Code 1.96.0 (Universal) (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Darwin arm64 23.3.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: