mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
hoon: make +slab respect variance using given mode and return false
This commit is contained in:
parent
7e4c0036f6
commit
90e8c9a2b0
@ -12014,9 +12014,9 @@
|
||||
[p.gun (slum q.gat q.sam)]
|
||||
::
|
||||
++ slab :: test if contains
|
||||
|= {cog/@tas typ/type}
|
||||
|= {cog/@tas way/?(%read %rite %both) typ/type}
|
||||
?= [%| *]
|
||||
(~(find ut typ) %read ~[cog])
|
||||
(~(find ut typ) way ~[cog])
|
||||
::
|
||||
++ slap
|
||||
|= {vax/vase gen/hoon} ^- vase :: untyped vase .*
|
||||
|
Loading…
Reference in New Issue
Block a user