diff tests/sidecheck.ur @ 1595:154cfe2eb366

Better error messages about server-side use of client-side functions
author Adam Chlipala <adam@chlipala.net>
date Mon, 14 Nov 2011 09:15:10 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/sidecheck.ur	Mon Nov 14 09:15:10 2011 -0500
@@ -0,0 +1,6 @@
+fun main () : transaction page =
+    s <- source 0;
+    n <- get s;
+    set s (n + 1);
+    n' <- get s;
+    return <xml>{[n']}</xml>