Mercurial > urweb
view tests/onerror.ur @ 1535:27190faa36a3
Handle case where shakeExp can remove datatype.
author | Karn Kallio <kkallio@eka> |
---|---|
date | Sat, 13 Aug 2011 00:07:28 -0430 |
parents | b4480a56cab7 |
children |
line wrap: on
line source
fun main n = case n of 0 => error <xml>Zero is bad!</xml> | _ => return <xml/>