diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/badRpc.ur	Sat Nov 19 10:26:19 2011 -0500
@@ -0,0 +1,5 @@
+fun zero () = return 0
+
+fun main () : transaction page =
+    z <- rpc (zero ());
+    return <xml>{[z]}</xml>