diff options
Diffstat (limited to 'bos-sugar.sh')
-rw-r--r-- | bos-sugar.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bos-sugar.sh b/bos-sugar.sh index f7e790a..8f3a810 100644 --- a/bos-sugar.sh +++ b/bos-sugar.sh @@ -57,19 +57,6 @@ function bos-sugar/class-open() { local fq_class; bos-namespaces/current-namespace-into fq_class bos-sugar/set-metaclass-for "$fq_class" - # this will get renamed into the class - function new-into() { - local class _; bos-object/unpack-self-into class _ "$self" - local -n new_into_result="$1"; shift - local metaclass_ref; bos-namespaces/store-scalar-for-into metaclass_ref meta "$class" - local -n metaclass_object="$metaclass_ref" - - local new_object - $metaclass_object create-object-into new_object "$class" "$@" - - new_into_result="$new_object" - } - return 0 } |