diff tests/sidecheckGood.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/sidecheckGood.ur	Mon Nov 14 09:15:10 2011 -0500
@@ -0,0 +1,6 @@
+fun main () : transaction page =
+    s <- source 0;
+    set s 42;
+    return <xml><body>
+      <dyn signal={n <- signal s; return (txt n)}/>
+    </body></xml>