From a181ceb0e3791c842db6e8e6f528cf9ce320642a Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Sat, 24 Jun 2023 23:30:04 +0200 Subject: refactor(ops): op2 supports Result in slow call path (#19602) --- ops/op2/test_cases/sync/result_void.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ops/op2/test_cases/sync/result_void.rs (limited to 'ops/op2/test_cases/sync/result_void.rs') diff --git a/ops/op2/test_cases/sync/result_void.rs b/ops/op2/test_cases/sync/result_void.rs new file mode 100644 index 000000000..41256e8c4 --- /dev/null +++ b/ops/op2/test_cases/sync/result_void.rs @@ -0,0 +1,4 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + +#[op2] +pub fn op_void_with_result() -> Result<(), AnyError> {} -- cgit v1.2.3