diff tests/rpcList2.ur @ 1545:5f530f8e3511

Fix crash in list unurlification
author Adam Chlipala <adam@chlipala.net>
date Sun, 21 Aug 2011 10:39:19 -0400
parents
children 553a5cc3a4b5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/rpcList2.ur	Sun Aug 21 10:39:19 2011 -0400
@@ -0,0 +1,7 @@
+fun rpcFunc l : transaction {} = return ()
+
+fun main () : transaction page = return <xml><body>
+  <button onclick={
+    rpc (rpcFunc (("" :: []) :: []))
+  }/>
+  </body></xml>