pub(crate) fn pop(&mut self, span: Span) -> Result<(), CompileError> {
        if self.stack.pop().is_none() {
            return Err(CompileError::msg(
                span,
                "tried to pop empty stack of scopes",
            ));
        }

        Ok(())
    }
/// Pop a scope off the stack.
Pop a scope off the stack.
Pop a scope off the stack .
pub(crate) fn pop(&mut self, span: Span) -> Result<(), CompileError> {
        if self.stack.pop().is_none() {
            return Err(CompileError::msg(
                span,
                "tried to pop empty stack of scopes",
            ));
        }
        Ok(())
    }
pub ( crate ) fn pop ( & mut self , span : Span ) -> Result < ( ) , CompileError > { if self . stack . pop ( ) . is_none ( ) { return Err ( CompileError :: msg ( span , " " , ) ) ; } Ok ( ( ) ) }
Pop a scope off the stack.
Pop a scope off the stack .
&mut self
span
Span
&mut self
span
Span