![]() The typed-AST produced as a result of type-checking the program will no longer contain unused let-bindings. They still raise warnings in the code so that developers are aware that they are being ignore. This is mainly done to prevent mistakes for people coming from an imperative background who may think that things like: ``` let _ = foo(...) ``` should have some side-effects. It does not, and it's similar to assigned variables that are never used / evaluated. We now properly strip those elements from the AST when encountered and raise proper warnings, even for discarded values. |
||
---|---|---|
.. | ||
aiken | ||
aiken-lang | ||
aiken-lsp | ||
aiken-project | ||
flat-rs | ||
uplc |