view tests/onerrorJs.ur @ 1856:3683d1a8c1c8

Add Sigcheck phase to avoid issues with signatures in global initializers
author Adam Chlipala <adam@chlipala.net>
date Sat, 15 Jun 2013 08:18:47 -0400
parents 27e731a65934
children
line wrap: on
line source
fun main n =
  case n of
      0 => error <xml>Zero is bad! <button value="Capische?" onclick={alert "GOOD!"}/></xml>
    | _ => return <xml/>