a hack around a bug
This commit is contained in:
parent
dca895c129
commit
a693efb677
|
@ -77,7 +77,8 @@
|
|||
(unmarshall-settings (-> printable/c any))
|
||||
|
||||
(capability-value
|
||||
(->i ([s (and/c symbol?
|
||||
(->i ([this any/c] ;; this is a workaround for a bug in ->i and object-contract's interaction!
|
||||
[s (and/c symbol?
|
||||
drracket:language:capability-registered?)])
|
||||
[res (s) (drracket:language:get-capability-contract s)]))))])
|
||||
#`(begin
|
||||
|
|
Loading…
Reference in New Issue
Block a user