add a todo

This commit is contained in:
Daniella / Tove 2024-10-14 05:26:54 +02:00
parent 95afcf9940
commit 51212e139a
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -696,6 +696,7 @@ pub fn alit_end(stack: &mut Stack) -> OError {
Ok(()) Ok(())
} }
// TODO: rewrite
pub fn import(stack: &mut Stack) -> OError { pub fn import(stack: &mut Stack) -> OError {
let Value::Str(mut s) = stack.pop().lock_ro().native.clone() else { let Value::Str(mut s) = stack.pop().lock_ro().native.clone() else {
return stack.err(ErrorKind::InvalidCall("import".to_owned())); return stack.err(ErrorKind::InvalidCall("import".to_owned()));