Mercurial > urweb
view tests/naughty.ur @ 1701:6a4461757829
Remove weird special case for FFI functions whose first arguments have type [unit]
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 14 Mar 2012 09:06:23 -0400 |
parents | deeeb036c8ed |
children |
line wrap: on
line source
fun main () : transaction page = if naughtyDebug "hello" = 0 then return <xml><body></body></xml> else error <xml>Uhoh!</xml> (*fun main () : transaction page = let val a = naughtyDebug "" in return <xml><body></body></xml> end*)