aiken/crates
rvcas d8cbcde61d feat(validators): unused param warning
Params being unused were being incorrectly reported.
This was because params need to be initialized
at a scope above both the validator functions. This
manifested when using a multi-validator where one of
the params was not used in both validators.

The easy fix was to add a field called
`is_validator_param` to `ArgName`. Then
when infering a function we don't initialize args
that are validator params. We now handle this
in a scope that is created before in the match branch for
validator in the `infer_definition` function. In there
we call `.in_new_scope` and initialize params for usage
detection.
2023-03-30 21:15:27 -04:00
..
aiken Fix README template for newly generated projects, and hello, world 2023-03-18 22:23:55 +01:00
aiken-lang feat(validators): unused param warning 2023-03-30 21:15:27 -04:00
aiken-lsp Remove unnecessary import. 2023-03-30 11:50:59 +02:00
aiken-project feat: refactor some methods and modules 2023-03-27 20:00:32 -04:00
flat-rs chore: update some deps 2023-03-06 11:09:44 -05:00
uplc Support some single-character escape sequences in UPLC 2023-03-30 11:50:59 +02:00