compiler: decouple stack & bindings resetting

This commit is contained in:
Scott Richmond 2025-05-23 13:43:35 -04:00
parent 1ef0da5dd1
commit ce1612a30c

View File

@ -74,10 +74,15 @@ pub fn run(src: &'static str) {
pub fn main() {
env::set_var("RUST_BACKTRACE", "1");
let src = "
{let x = match (-1, (2)) with {
(x, (y)) -> y
let x = when {
false -> :no
nil -> {
let x = :no
x
}
:else -> :yes
}
x
} ";
";
run(src);
}