From 6b3f9cb909df162345d9f5a001abeb0d3df31ce9 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 22 Jul 2023 12:35:39 +0100 Subject: `*-into` always takes the destination as `$1` --- bos-dispatch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bos-dispatch.sh') diff --git a/bos-dispatch.sh b/bos-dispatch.sh index 8489765..8306378 100644 --- a/bos-dispatch.sh +++ b/bos-dispatch.sh @@ -28,13 +28,13 @@ function bos-dispatch/invoke() { if declare -F "$qualified_method" >/dev/null; then local self - bos-object-id/pack-self-into "$class" "$self_id" self + bos-object-id/pack-self-into self "$class" "$self_id" "$qualified_method" "$@" return $? fi local metaclass_ref - bos-namespaces/store-scalar-for-into meta "$class" metaclass_ref + bos-namespaces/store-scalar-for-into metaclass_ref meta "$class" local -n metaclass_object="$metaclass_ref" $metaclass_object invoke "$class" "$self_id" "$method" "$@" -- cgit v1.2.3