mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 06:35:32 +03:00
hoon: restrict trap subject in +swat
This commit is contained in:
parent
c44d739bcf
commit
563c2d4c06
@ -69,6 +69,7 @@
|
||||
|= [tap=(trap vase) gen=hoon]
|
||||
^- (trap vase)
|
||||
=/ gun (~(mint ut p:$:tap) %noun gen)
|
||||
=> [tap=tap gun=gun]
|
||||
|. ~+
|
||||
=/ pro q:$:tap
|
||||
[[%cell p.gun p:$:tap] [.*(pro q.gun) pro]]
|
||||
|
@ -11532,6 +11532,7 @@
|
||||
|= [tap=(trap vase) gen=hoon]
|
||||
^- (trap vase)
|
||||
=/ gun (~(mint ut p:$:tap) %noun gen)
|
||||
=> [tap=tap gun=gun]
|
||||
|. ~+
|
||||
[p.gun .*(q:$:tap q.gun)]
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user