aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/destructure.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/destructure.yue')
-rw-r--r--spec/inputs/destructure.yue5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/inputs/destructure.yue b/spec/inputs/destructure.yue
index 3007adf..24282c0 100644
--- a/spec/inputs/destructure.yue
+++ b/spec/inputs/destructure.yue
@@ -11,7 +11,7 @@ do
11 11
12 {:a,:b,:c,:d} = yeah 12 {:a,:b,:c,:d} = yeah
13 13
14 {a} = one, two 14 {a}, b = one, two
15 {b}, c = one 15 {b}, c = one
16 {d}, e = one, two 16 {d}, e = one, two
17 17
@@ -184,3 +184,6 @@ do
184do 184do
185 {x: a.b = 1, y: a.c = 2} = x.x.x 185 {x: a.b = 1, y: a.c = 2} = x.x.x
186 186
187do
188 const :width, :height = View.size
189 const {:x = 0.0, :y = 0.0} = point