diff options
author | dakkar <dakkar@thenautilus.net> | 2023-07-28 11:34:57 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2023-07-28 11:34:57 +0100 |
commit | 59f6d9b888bb0b224754e4bce3a5c01314002202 (patch) | |
tree | d2f5f3daab8800e27980f4a1a8c4cf647081811a /bos-meta-attribute.sh | |
parent | BROKEN (diff) | |
download | bash-object-system-59f6d9b888bb0b224754e4bce3a5c01314002202.tar.gz bash-object-system-59f6d9b888bb0b224754e4bce3a5c01314002202.tar.bz2 bash-object-system-59f6d9b888bb0b224754e4bce3a5c01314002202.zip |
STILL BORKEN
we need attribute defaults, probably via functions?
it currently explodes when it can't find a value for
`class_attributes` for metaclasses of non-bootstrap classes
Diffstat (limited to 'bos-meta-attribute.sh')
-rw-r--r-- | bos-meta-attribute.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bos-meta-attribute.sh b/bos-meta-attribute.sh index 0d65dce..403414d 100644 --- a/bos-meta-attribute.sh +++ b/bos-meta-attribute.sh @@ -74,7 +74,7 @@ function bos/meta/attribute/set-value() { assoc) eval "bos_meta_attribute_store=( ${@@Q} )" ;; esac - >&2 declare -p "$bos_meta_attribute_store_name" + >&2 echo -n 'set-value()'; >&2 declare -p "$bos_meta_attribute_store_name" return 0 } @@ -94,7 +94,7 @@ function bos/meta/attribute/get-value-into() { local attribute_type="$bos_meta_attribute_get_type" local associated_class="$bos_meta_attribute_get_class" - >&2 echo "getting ($self) ($attribute_name) ($attribute_type) ($associated_class)" + >&2 echo "getting ($self) ($attribute_name) ($attribute_type) ($associated_class) ($1)" local bos_meta_attribute_store_name; $self store-for-into bos_meta_attribute_store_name "$1" local -n bos_meta_attribute_store="$bos_meta_attribute_store_name" |