You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement request related to a problem? Please describe.
stan gives a warning on every single lazy field (!) of a data structure that one defines, with the dubious suggestion to add StrictData pragmas.
Haskell is a lazy language and the idea that lazy fields cause space leaks is confused. It is embarrassing that the official language server would behave like this out of the box!
Describe the solution you'd like
Stan suggestions should not pop up or the default options should disable the warning about defining non-strict data structures.
Additional context
The text was updated successfully, but these errors were encountered:
This was an accident when hls-stan-plugin was reintroduced. The vscode-haskell plugin disabled the hls-stan-plugin already by default.
However, thank you for the reminder, the next release definitely needs to disable the plugin by default again.
Until the stan plugin takes into account .stan.toml config files, the best way to ignore this suggestions would be to disable the plugin. After that, if you are still interested in other diagnostics, you can create a global ~/.stan.toml to silence particular observations.
Is your enhancement request related to a problem? Please describe.
stan gives a warning on every single lazy field (!) of a data structure that one defines, with the dubious suggestion to add
StrictData
pragmas.Haskell is a lazy language and the idea that lazy fields cause space leaks is confused. It is embarrassing that the official language server would behave like this out of the box!
Describe the solution you'd like
Stan suggestions should not pop up or the default options should disable the warning about defining non-strict data structures.
Additional context
The text was updated successfully, but these errors were encountered: