summaryrefslogtreecommitdiff
path: root/bos-dispatch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bos-dispatch.sh')
-rw-r--r--bos-dispatch.sh4
1 files changed, 2 insertions, 2 deletions
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" "$@"