view tests/badRpc.ur @ 1601:78e0d56b594e

Better error messages when client-side constructs are detected in Cjrize
author Adam Chlipala <adam@chlipala.net>
date Sat, 19 Nov 2011 10:26:19 -0500
parents
children
line wrap: on
line source
fun zero () = return 0

fun main () : transaction page =
    z <- rpc (zero ());
    return <xml>{[z]}</xml>