Mercurial > urweb
view tests/onerrorJs.ur @ 2038:ec2c7a22df0d
Fix off-by-one error in less-safe FFI wrapper generation
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 13 Jul 2014 06:14:23 -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/>