From 9b6ac23ad84396bde0c26f7546b0353172d08607 Mon Sep 17 00:00:00 2001 From: Moshe Dicker <75931499+dickermoshe@users.noreply.github.com> Date: Mon, 28 Apr 2025 13:28:10 -0400 Subject: [PATCH] Set default parameter name in using callback --- pkgs/ffi/lib/src/arena.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/ffi/lib/src/arena.dart b/pkgs/ffi/lib/src/arena.dart index 37861370c0..1baf4bfd72 100644 --- a/pkgs/ffi/lib/src/arena.dart +++ b/pkgs/ffi/lib/src/arena.dart @@ -118,7 +118,7 @@ class Arena implements Allocator { /// If the isolate is shut down, through `Isolate.kill()`, resources are _not_ /// cleaned up. R using( - R Function(Arena) computation, [ + R Function(Arena arena) computation, [ Allocator wrappedAllocator = calloc, ]) { final arena = Arena(wrappedAllocator);