view 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
line wrap: on
line source
table t : { A : int }

fun other () = return <xml><body>
  Other
</body></xml>

fun main () = return <xml><body>
  <a link={other ()}>Hi!</a>
</body></xml>