typecheck_expr doesnt need to mutate the TypeChecker

This commit is contained in:
2026-03-18 19:08:10 +01:00
parent 0dbe7560b6
commit 625fc0d811
2 changed files with 3 additions and 3 deletions

View File

@@ -564,7 +564,7 @@ _builtin_environ:
} else {
let var = match env.get_var(&name.lexeme) {
Some(x) => x,
None => unreachable!(),
None => unreachable!("this should be caught in the typechecker"),
};
emit!(
&mut self.output,