Skip to content

Commit

Permalink
should fail
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Feb 16, 2021
1 parent d231e2f commit 4b652da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/more_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ pub fn op_strlen<T: Allocator>(a: &mut T, input: T::Ptr) -> Response<T::Ptr> {
}

pub fn op_substr<T: Allocator>(a: &mut T, input: T::Ptr) -> Response<T::Ptr> {
println!("substr");
let args = Node::new(a, input);
check_arg_count(&args, 3, "substr")?;
let a0 = args.first()?;
Expand Down

0 comments on commit 4b652da

Please sign in to comment.