619788f795
* Fix hacked-together parsers Back when we changed the linter to preserve let comments we made whitespace parsing explicit (previously combinators swallowed any trailing whitespace), but we forgot to update the hacked-together parsers used by the LSP server. As a result, various convenience features broke, but that's easy enough to fix. * Fix 'annotate lets' and 'type on hover' features Both features only work as intended if as much of the Dhall code as possible is wrapped in Note annotations, since we use that to figure out where the user was pointing. Since the removal of explicit multi-lets in the syntax the parser no longer wraps immediately nested lets (i.e. multilets) in Notes, which means we need to split them manually (like we used to). * Fix hovering test Now the behaviour expected by the test matches what we would want in reality. |
||
---|---|---|
.. | ||
fixtures | ||
Main.hs |