aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/core.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bash/core.sh b/bash/core.sh
index 0da820c..d5750e6 100644
--- a/bash/core.sh
+++ b/bash/core.sh
@@ -145,7 +145,9 @@ _get () {
local obj="${ANON["${1}"]}"
eval r="\${${obj}[\"${2}\"]}" ;;
list|vector)
- _nth "${1}" "${2}"
+ _nth "${1}" "${2}" ;;
+ nil)
+ r="${__nil}" ;;
esac
}
get () {