From aefc3accf262f17945ec53764d5828707ccab316 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 12 May 2011 17:14:13 -0400 Subject: Escape less-than in JavaScript strings --- tests/treeDyn.ur | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/treeDyn.ur (limited to 'tests/treeDyn.ur') diff --git a/tests/treeDyn.ur b/tests/treeDyn.ur new file mode 100644 index 00000000..1d58cca5 --- /dev/null +++ b/tests/treeDyn.ur @@ -0,0 +1,18 @@ +table t : {Id : int, Parent : option int} + +fun recurse (root : option int) = + queryX' (SELECT * FROM t WHERE {eqNullable' (SQL t.Parent) root}) + (fn r => + children <- recurse (Some r.T.Id); + (*s <- source False;*) + return + HI{children}BYE + (*else + return *)}/> + ) + +fun main () = + x <- recurse None; + return {x} -- cgit v1.2.3