From 1fa4049fc55986af8615ea836a60ac8cae255ad6 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Sun, 12 Jun 2022 00:16:35 +0800 Subject: fix issue #105. --- spec/inputs/with.yue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'spec/inputs') 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 @@ -122,6 +122,20 @@ do .if "yes" y = .end.of.function +do + with tb + [1] = [2]?\func! + ["%a-b-c%"] = 123 + [ [[x y z]]] = [var] + print [ [3]] + with [4] + [1] = 1 + [] = "abc" + [] = + type: "hello" + * name: "xyz" + value: 998 + do global mask with? mask = SolidRect width: w, height: h, color: 0x66000000 -- cgit v1.2.3-55-g6feb