aiken/crates/aiken-lang/src
KtorZ 0060804d1a
Fix redundant warning when destructuring validator params
This is not a "proper" fix as it simply get rid of the warning
  altogether (whether you use or not the destructured values).

  The reason for removing the warning entirely is because (1) it's
  simpler, but more so (2) there's no impact on the final code produced
  _anyway_. Redundant let bindings are already removed by the compiler;
  and while it's an implicit behaviour that requires a proper warning
  when it's coming from a user-defined assignment; here the redundant
  assignment is introduced by the compiler to begin with as another
  implicit behavior!

  So we have an implicit behaviour triggering a warning on another
  implicit behaviour. Truth is, there's no impact in having those
  parameters destructured and unused. So since users are already not
  aware that this results in an implicit let assignment being inserted
  in place for them; there's no need for the warning at all.
2024-10-01 13:17:00 +02:00
..
ast Prevent non-default fallback on exhaustive validator 2024-08-27 20:16:45 +02:00
error Define 'ExtraData' trait for errors 2023-10-20 18:00:12 +02:00
gen_uplc Clippy fixes 2024-09-12 19:34:40 -04:00
parser Add missing parser snapshots. 2024-09-01 18:12:46 +02:00
snapshots Automatically merge import lines from same module. 2024-06-04 10:48:42 +02:00
tests Fix redundant warning when destructuring validator params 2024-10-01 13:17:00 +02:00
tipo Fix redundant warning when destructuring validator params 2024-10-01 13:17:00 +02:00
utils Adjust module organization to facilitate resurrection of the playground. 2024-08-29 09:12:37 +02:00
ast.rs Fix redundant warning when destructuring validator params 2024-10-01 13:17:00 +02:00
builtins.rs Fix type reification of PRNG. 2024-09-13 18:34:53 +02:00
expr.rs Fix compiler crash around dangling expect/let in traces 2024-10-01 12:24:31 +02:00
format.rs Fix extraneous space added after multiline alternative patterns 2024-09-19 20:24:59 +02:00
gen_uplc.rs Fix edge case with traces off and usage of softcast and hardcast on the same type 2024-09-19 22:29:19 -04:00
levenshtein.rs Add function to calculate lenvenshtein distance of two strings 2022-12-22 23:44:15 +01:00
lib.rs Adjust module organization to facilitate resurrection of the playground. 2024-08-29 09:12:37 +02:00
line_numbers.rs feat: impl serde on errythang 2024-03-08 19:19:07 -05:00
parser.rs Automatically merge import lines from same module. 2024-06-04 10:48:42 +02:00
plutus_version.rs Ensure code-gen's Program version/semantic matches Plutus version 2024-08-30 14:45:02 +02:00
pretty.rs Improve formatter on long-lines, in particular bin-ops. 2024-08-06 19:25:35 +02:00
test_framework.rs Provide intermediate feedback during property test runs. 2024-09-19 20:19:49 +02:00
tipo.rs Use const instead of zero-arg functions in few code-gen tests. 2024-08-30 14:47:22 +02:00
version.rs Adjust module organization to facilitate resurrection of the playground. 2024-08-29 09:12:37 +02:00