From 3bfd3a4e9511e16d8a826cb271fc95acc2fb9845 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 23 Mar 2010 14:26:27 +0000 Subject: [PATCH] * Test "with as; with bs;" since nobody knows what its semantics is. --- tests/lang/eval-okay-with.exp | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/lang/eval-okay-with.exp b/tests/lang/eval-okay-with.exp index 31e24293be..033e8d3aba 100644 --- a/tests/lang/eval-okay-with.exp +++ b/tests/lang/eval-okay-with.exp @@ -1 +1,19 @@ -Str("xyzzybar",[]) +let { + + a = "xyzzy"; + + as = { + a = "foo"; + b = "bar"; + }; + + bs = { + a = "bar"; + }; + + x = with as; a + b; + + y = with as; with bs; a + b; + + body = x + y; +}