trapdoor use this.std

This commit is contained in:
Emile Clark-Boman 2026-01-25 11:44:21 +10:00
parent 25d00f7a2f
commit db24747a47

View file

@ -7,10 +7,10 @@
;
inherit
(this)
(this.std)
enfHasAttr
enfHasAttr'
enfIsType
enfIsAttrs
;
in rec {
masterkey = "_''traps''_";
@ -53,6 +53,6 @@ in rec {
if isFunction T
then openTrapdoorFn key T
else
assert enfIsType "set" T "openTrapdoor";
assert enfIsAttrs T "openTrapdoor";
openTrapdoorSet key T;
}