annotate tests/rewrite.ur @ 1588:65d6488c82d5

Fix confusing error message when record unification fails because enclosed types are incompatible
author Adam Chlipala <adam@chlipala.net>
date Sat, 05 Nov 2011 09:56:52 -0400
parents 3b7e46790fa7
children
rev   line source
adamc@768 1 table t : { A : int }
adamc@768 2
adamc@768 3 fun other () = return <xml><body>
adamc@768 4 Other
adamc@768 5 </body></xml>
adamc@768 6
adamc@768 7 fun main () = return <xml><body>
adamc@768 8 <a link={other ()}>Hi!</a>
adamc@768 9 </body></xml>