diff --git a/src/build/opcode/runtime.rs b/src/build/opcode/runtime.rs index 4f14f1f..b2e9d68 100644 --- a/src/build/opcode/runtime.rs +++ b/src/build/opcode/runtime.rs @@ -337,11 +337,11 @@ impl Builtins { // TODO(jwall): This can also be tuples or strings. let elems = match list.as_ref() { &C(List(ref elems)) => elems, - &C(Tuple(ref flds)) => { - unimplemented!("Tuple functional operations"); + &C(Tuple(ref _flds)) => { + unimplemented!("TODO Tuple functional operations"); } - &P(Str(ref s)) => { - unimplemented!("string functional operations"); + &P(Str(ref _s)) => { + unimplemented!("TODO String functional operations"); } _ => return Err(dbg!(Error {})), }; @@ -394,11 +394,11 @@ impl Builtins { // TODO(jwall): This can also be tuples or strings. let elems = match list.as_ref() { &C(List(ref elems)) => elems, - &C(Tuple(ref flds)) => { - unimplemented!("Tuple functional operations"); + &C(Tuple(ref _flds)) => { + unimplemented!("TODO Tuple functional operations"); } - &P(Str(ref s)) => { - unimplemented!("string functional operations"); + &P(Str(ref _s)) => { + unimplemented!("TODO String functional operations"); } _ => return Err(dbg!(Error {})), }; @@ -483,11 +483,11 @@ impl Builtins { // TODO(jwall): This can also be tuples or strings. let elems = match list.as_ref() { &C(List(ref elems)) => elems, - &C(Tuple(ref flds)) => { - unimplemented!("Tuple functional operations"); + &C(Tuple(ref _flds)) => { + unimplemented!("TODO Tuple functional operations"); } - &P(Str(ref s)) => { - unimplemented!("string functional operations"); + &P(Str(ref _s)) => { + unimplemented!("TODO String functional operations"); } _ => return Err(dbg!(Error {})), }; diff --git a/src/build/opcode/vm.rs b/src/build/opcode/vm.rs index c8bb779..5c65ac9 100644 --- a/src/build/opcode/vm.rs +++ b/src/build/opcode/vm.rs @@ -615,7 +615,7 @@ where } }; if safe { - self.push(Rc::new(P(Empty))); + self.push(Rc::new(P(Empty)))?; return Ok(()); } return Err(dbg!(Error {}));