trapdoor use this.std
This commit is contained in:
parent
25d00f7a2f
commit
db24747a47
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue