fn error_outside_function_call(
      &mut self,
      closure: Option<GcRaw<Closure>>,
      env: &Environment,
      kind: ErrorKind,
   ) -> Error {
      self.save_return_point();
      if let Some(closure) = closure {
         self.call_stack.push(ReturnPoint {
            chunk: None,
            closure: Some(closure),
            pc: 0,
            stack_bottom: 0,
         });
      }
      let error = self.error(env, kind);
      if closure.is_some() {
         self.call_stack.pop();
      }
      self.call_stack.pop();
      error
   }
/// Constructs an error that wasn't triggered by a function call.
Constructs an error that wasn't triggered by a function call.
Constructs an error that wasn ' t triggered by a function call .
fn error_outside_function_call(
      &mut self,
      closure: Option<GcRaw<Closure>>,
      env: &Environment,
      kind: ErrorKind,
   ) -> Error {
      self.save_return_point();
      if let Some(closure) = closure {
         self.call_stack.push(ReturnPoint {
            chunk: None,
            closure: Some(closure),
            pc: 0,
            stack_bottom: 0,
         });
      }
      let error = self.error(env, kind);
      if closure.is_some() {
         self.call_stack.pop();
      }
      self.call_stack.pop();
      error
   }
fn error_outside_function_call ( & mut self , closure : Option < GcRaw < Closure > > , env : & Environment , kind : ErrorKind , ) -> Error { self . save_return_point ( ) ; if let Some ( closure ) = closure { self . call_stack . push ( ReturnPoint { chunk : None , closure : Some ( closure ) , pc : 0 , stack_bottom : 0 , } ) ; } let error = self . error ( env , kind ) ; if closure . is_some ( ) { self . call_stack . pop ( ) ; } self . call_stack . pop ( ) ; error }
Constructs an error that wasn't triggered by a function call.
Constructs an error that wasn ' t triggered by a function call .
&mut self
closure
Option<GcRaw<Closure>>
env
&Environment
kind
ErrorKind