aiken/crates/aiken-lang/src/tipo
rvcas 4ca73c4cdf
fix: closes #898
This is the best we can do for this without
rearchitecting when we rewrite backpassing to
plain ol' assignments. In this case, if we see
a var and there is no annotation (thus probably not a cast),
then it's safe to rewrite to a `let` instead of an `expect`.
This way, we don't get a warning that is **unfixable**.
We are not trying to solve every little warning edge
case with this fix. We simply just can't allow there
to be a warning that the user can't make go away through
some means. All other edge cases like pattern matching on
a single contructor type with expect warnings can be fixed
via other means.
2024-05-21 15:21:24 -04:00
..
environment.rs Infer callee first in function call 2024-05-06 15:17:01 -04:00
error.rs Prefer '.clone_from' over mutating a clone. 2024-05-16 23:42:53 +02:00
exhaustive.rs Add 'Pair' pattern and rework internals to use it. 2024-05-04 14:04:12 -04:00
expr.rs fix: closes #898 2024-05-21 15:21:24 -04:00
fields.rs feat: impl serde on errythang 2024-03-08 19:19:07 -05:00
hydrator.rs update pair to handle alias 2024-05-04 14:04:12 -04:00
infer.rs Fix scope management issue when deep-inferring callee. 2024-05-15 13:18:51 +02:00
pattern.rs Add 'Pair' pattern and rework internals to use it. 2024-05-04 14:04:12 -04:00
pipe.rs Fixes #767 2024-03-22 16:05:32 +01:00
pretty.rs Fix pretty-printing of recursive type-alias causing stack overflow. 2024-05-16 17:20:26 +02:00