aiken-lang / aiken

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

LSP type info on hover shows type of result instead of expression when using backpassing #901

Closed MicroProofs closed 5 days ago

MicroProofs commented 5 months ago

What Git revision are you using?

1.0.26

What operating system are you using, and which version?

Describe what the problem is?

The lsp hover shows Bool instead of the actual type. This is due to it inferring the validator type.

What should be the expected behavior?

The actual type of the function or its arguments based on where my mouse hovers over

Screenshot 2024-03-27 at 11 29 48 AM Screenshot 2024-03-27 at 11 33 11 AM

rvcas commented 5 months ago

so this is definitely related to backpassing

KtorZ commented 5 days ago

Fixed in #999