a hack around a bug

This commit is contained in:
Robby Findler 2010-09-09 16:37:13 -05:00
parent dca895c129
commit a693efb677

View File

@ -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