blob: 7f13f1f270302573d320e4566dc4a0d4178178cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# This convoluted test constructs a situation in which dynamically
# resolved upvalues refer `with` blocks introduced at different lambda
# context boundaries, i.e. the access to a, b in the innermost closure
# must be threaded through upvalues in several levels.
(_:
with { a = 1; b = 1; };
_:
with { b = 2; c = 2; };
_:
with { c = 3; d = 3; };
_:
with { d = 4; };
[ a b c d ]) null null null null
|