summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-1/sugar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/level-1/sugar.cpp')
-rw-r--r--starts/meaning-vm/level-1/sugar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/starts/meaning-vm/level-1/sugar.cpp b/starts/meaning-vm/level-1/sugar.cpp
index accad6c..025c68e 100644
--- a/starts/meaning-vm/level-1/sugar.cpp
+++ b/starts/meaning-vm/level-1/sugar.cpp
@@ -20,6 +20,7 @@ ref a(ref group)
}
ref a(ref group, ref name)
{
+ if (name == nothing) { return a(group); }
if (!name.isa(group)) {
name.link(is, group);
}