Mercurial > urweb
view tests/jserror.ur @ 1288:fc7ecf8883b1
Some post-type-checking support for polymorphic variants
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 21 Aug 2010 10:58:13 -0400 |
parents | ba4c230b7231 |
children |
line wrap: on
line source
fun main () : transaction page = return <xml> <body onload={onError (fn s => alert ("There was an error: " ^ show s)); error <xml>Badder</xml>}/> </xml>