aiken icon indicating copy to clipboard operation
aiken copied to clipboard

Aiken LSP Hover on generic functions

Open MicroProofs opened this issue 10 months ago • 0 comments

What Git revision are you using?

Latest main

What operating system are you using, and which version?

  • [ ] Linux / Ubuntu
  • [ ] Linux / Other
  • [x] macOS
  • [ ] Windows

Describe what the problem is?

LSP gets confused when hovering on generic functions that were previously used with a different type.

What should be the expected behavior?

It infers the type as 'a' instead of the actual type.

left is List<Bytearray> and level_one is List<(Int, Bytearray)>

Screenshot 2024-04-01 at 11 18 04 PM

MicroProofs avatar Apr 02 '24 03:04 MicroProofs