summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-12-15 13:20:13 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-12-15 13:20:13 -0500
commit2513e44c4a1e4dc2ad8f0ab817d4f51aecc3660f (patch)
tree2d9199e213e29468ac1d3eb136f4606dc3628eca /demo
parent3e3d1d1234b6f29a33e7ca480b4b90fe4116f139 (diff)
Fix new Especialize security bug: do not duplicate free variables as specialized arguments
Diffstat (limited to 'demo')
-rw-r--r--demo/tree.ur2
1 files changed, 2 insertions, 0 deletions
diff --git a/demo/tree.ur b/demo/tree.ur
index d7b0919e..0a13e470 100644
--- a/demo/tree.ur
+++ b/demo/tree.ur
@@ -5,6 +5,8 @@ table t : { Id : int, Parent : option int, Nam : string }
open TreeFun.Make(struct
val tab = t
+ con id = #Id
+ con parent = #Parent
end)
fun row r = <xml>