language-haskell icon indicating copy to clipboard operation
language-haskell copied to clipboard

Mis-scope of let-binding declarations immediately followed by signatures

Open mixphix opened this issue 2 years ago • 2 comments

The first local signature (for x :: ()) in the image below should have the same scope as the signature for y below it:

foo

mixphix avatar May 16 '22 17:05 mixphix

Yeah it should, but the VSCode grammar infrastructure doesn't have parser capabilities that are powerful enough to distinguish the two cases. I can elaborate more in case you want to take a stab at it, but as far as I am concerned this won't (be able to) get fixed.

JustusAdam avatar May 17 '22 14:05 JustusAdam

+1

KristianBalaj avatar Jun 05 '22 18:06 KristianBalaj