pub(crate) fn pop_unchecked(&mut self, span: Span) -> CompileResult<Scope> {
        let scope = self
            .scopes
            .pop()
            .ok_or_else(|| CompileError::msg(&span, "missing parent scope"))?;

        Ok(scope)
    }
/// Pop the last scope and compare with the expected length.
Pop the last scope and compare with the expected length.
Pop the last scope and compare with the expected length .
pub(crate) fn pop_unchecked(&mut self, span: Span) -> CompileResult<Scope> {
        let scope = self
            .scopes
            .pop()
            .ok_or_else(|| CompileError::msg(&span, "missing parent scope"))?;
        Ok(scope)
    }
pub ( crate ) fn pop_unchecked ( & mut self , span : Span ) -> CompileResult < Scope > { let scope = self . scopes . pop ( ) . ok_or_else ( | | CompileError :: msg ( & span , " " ) ) ? ; Ok ( scope ) }
Pop the last scope and compare with the expected length.
Pop the last scope and compare with the expected length .
&mut self
span
Span
&mut self
span
Span