Incorrect hover annotations #1326
Labels
bug
Something isn't working
typechecker
Type checker for Quint
UX
impacts or improves user experience
Take this spec:
https://github.com/cosmos/interchain-security/blob/214f6e5c25346b9d3287be8337201f2d15ba538a/tests/mbt/model/ccv.qnt#L337
In particular, this function:
when I hover over consumerAddrsToPrune, I get this info:
![image](https://private-user-images.githubusercontent.com/57488781/295171170-ab6095e7-2978-46ab-be90-5ad2072b93b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDk1MjIsIm5iZiI6MTczOTAwOTIyMiwicGF0aCI6Ii81NzQ4ODc4MS8yOTUxNzExNzAtYWI2MDk1ZTctMjk3OC00NmFiLWJlOTAtNWFkMjA3MmI5M2I4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwMDcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYyOTYzMzMxNzEwODY0M2RlMWIzYWU5MGQ4ZDg0NDI0MDRhMjcxZjA5YmU5ZTVmM2FhM2RmNGM4MGU0YWE4MjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qCcaXUJcueM1mICb_KtW7MYvKp5E6nJ9D-P3IIOSXFs)
which is not very useful - I want to find the type of consumerAddrsToPrune, which is defined like this:
The field curiously also doesn't show up when I hover over
providerState
:It seems this is only broken in this particular function, not everywhere. See how I think it should look, hovering over a providerState somewhere else (red circle for emphasis):
![image](https://private-user-images.githubusercontent.com/57488781/295173255-ca5ad6f4-efbb-436f-ad94-9cf19da93347.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDk1MjIsIm5iZiI6MTczOTAwOTIyMiwicGF0aCI6Ii81NzQ4ODc4MS8yOTUxNzMyNTUtY2E1YWQ2ZjQtZWZiYi00MzZmLWFkOTQtOWNmMTlkYTkzMzQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwMDcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNiNDMxZThlNmVhOTFjZGY0YTlhM2FkMWU2ZDU1ZjAwZGU1MzIxNmE3NzRkNjE5MzkyNDFlMTk1MDVhMjc5M2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tI-qoYmPWiucVs7QfVlF42ENmUA01FS6dBXQAT0bE3g)
Not sure I'm missing something subtle, or this is a genuine bug.
The text was updated successfully, but these errors were encountered: