<div dir="ltr">Apologies if this isn't the right forum, I couldn't find bug-reporting information via the typed racket documentation.<div><br></div><div>It seems that typed racket doesn't play well with hasheq in certain circumstances. A minimal repro case:</div>
<div><br></div><div>File "bug.rkt":</div><div><div><font face="courier new, monospace">#lang typed/racket</font></div><div><font face="courier new, monospace">(provide (struct-out container))</font></div><div><font face="courier new, monospace">(struct: container ([value : Any]))</font></div>
</div><div><br></div><div>REPL:</div><div><div><font face="courier new, monospace">-> (require "bug.rkt")</font></div><div><font face="courier new, monospace">-> (container-value (container (hasheq 'foo "foo")))</font></div>
<div><font face="courier new, monospace">; prop:chaperone-contract: expected a chaperone of '#hasheq((foo . "foo")), got</font></div><div><font face="courier new, monospace">; '#hash((foo . "foo")) [,bt for context]</font></div>
</div><div><br></div></div>