aiken-lang / aiken

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

lsp panic on bad field #954

Open waalge opened 1 month ago

waalge commented 1 month ago

What Git revision are you using?

aiken v1.0.28-alpha+c9a1519

What operating system are you using, and which version?

nixos

Describe what the problem is?

Transaction { withdraws, .. } = transaction

causes lsp to error

I tripped over some unknown labels in a pattern or function.

What should be the expected behavior?

Lsp doesn't error and instead reports issue. Eg `withdraw` is not a field of `transaction`


This has been around for a long time. I suspect this is a duplicate issue, but a brief browse didn't find it.

rvcas commented 1 month ago

can you should me the panic message?

waalge commented 1 month ago

 Error 02:24:24 PM lsp.message LSP Message (aiken) I tripped over some unknown labels in a pattern or function.