diff options
Diffstat (limited to 'spec/inputs')
| -rw-r--r-- | spec/inputs/with.yue | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/inputs/with.yue b/spec/inputs/with.yue index fe140ac..6f3e3ba 100644 --- a/spec/inputs/with.yue +++ b/spec/inputs/with.yue | |||
| @@ -123,6 +123,20 @@ do | |||
| 123 | y = .end.of.function | 123 | y = .end.of.function |
| 124 | 124 | ||
| 125 | do | 125 | do |
| 126 | with tb | ||
| 127 | [1] = [2]?\func! | ||
| 128 | ["%a-b-c%"] = 123 | ||
| 129 | [ [[x y z]]] = [var] | ||
| 130 | print [ [3]] | ||
| 131 | with [4] | ||
| 132 | [1] = 1 | ||
| 133 | [] = "abc" | ||
| 134 | [] = | ||
| 135 | type: "hello" | ||
| 136 | * name: "xyz" | ||
| 137 | value: 998 | ||
| 138 | |||
| 139 | do | ||
| 126 | global mask | 140 | global mask |
| 127 | with? mask = SolidRect width: w, height: h, color: 0x66000000 | 141 | with? mask = SolidRect width: w, height: h, color: 0x66000000 |
| 128 | .touchEnabled = true | 142 | .touchEnabled = true |
