aiken-lang / aiken

A modern smart contract platform for Cardano
https://aiken-lang.org
Apache License 2.0
454 stars 84 forks source link

Aiken LSP Hover on generic functions #904

Open MicroProofs opened 5 months ago

MicroProofs commented 5 months ago

What Git revision are you using?

Latest main

What operating system are you using, and which version?

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 and level_one is List<(Int, Bytearray)>

Screenshot 2024-04-01 at 11 18 04 PM