pub(crate) fn undecl_anon(&mut self, span: Span, n: usize) -> CompileResult<()> {
        for _ in 0..n {
            self.anon.pop();
        }

        self.total_var_count = self
            .total_var_count
            .checked_sub(n)
            .ok_or_else(|| CompileError::msg(&span, "totals out of bounds"))?;

        self.local_var_count = self
            .local_var_count
            .checked_sub(n)
            .ok_or_else(|| CompileError::msg(&span, "locals out of bounds"))?;

        Ok(())
    }
/// Undeclare the last anonymous variable.
Undeclare the last anonymous variable.
Undeclare the last anonymous variable .
pub(crate) fn undecl_anon(&mut self, span: Span, n: usize) -> CompileResult<()> {
        for _ in 0..n {
            self.anon.pop();
        }
        self.total_var_count = self
            .total_var_count
            .checked_sub(n)
            .ok_or_else(|| CompileError::msg(&span, "totals out of bounds"))?;
        self.local_var_count = self
            .local_var_count
            .checked_sub(n)
            .ok_or_else(|| CompileError::msg(&span, "locals out of bounds"))?;
        Ok(())
    }
pub ( crate ) fn undecl_anon ( & mut self , span : Span , n : usize ) -> CompileResult < ( ) > { for _ in 0 .. n { self . anon . pop ( ) ; } self . total_var_count = self . total_var_count . checked_sub ( n ) . ok_or_else ( | | CompileError :: msg ( & span , " " ) ) ? ; self . local_var_count = self . local_var_count . checked_sub ( n ) . ok_or_else ( | | CompileError :: msg ( & span , " " ) ) ? ; Ok ( ( ) ) }
Undeclare the last anonymous variable.
Undeclare the last anonymous variable .
&mut self
span
Span
n
usize
&mut self
span
Span
n
usize