[racket] Typed classes: how to send to a value with union type

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Tue Aug 19 15:39:45 EDT 2014

On 2014-08-19 14:48:22 -0400, Alexander D. Knauth wrote:
> This works fine for me in version 6.1.0.5:
> #lang typed/racket
> (require typed/racket/snip)
> (define snip (new snip%))
> (define admin (send snip get-admin))
> (define editor (and admin (send admin get-editor)))
> (when editor
>   (send editor set-caret-owner #f))

Yes, I think this was fixed in commit 7743386eec4f5d752f5f87dab52e2da43bd11926.

Cheers,
Asumu

Posted on the users mailing list.