annotate tests/rewrite.ur @ 906:c270fb847dc2

Be careful in Jscomp to avoid interpreting non-boolean/reference types as booleans with ?:
author Adam Chlipala <adamc@hcoop.net>
date Tue, 11 Aug 2009 11:26:37 -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>