From 147eb556316c673859fd7da7b479c3f3f8f4bdaa Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 23 Oct 2023 11:07:40 +0800 Subject: remove unnecessary multiline declaration for list table assignment. --- spec/inputs/tables.yue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'spec/inputs') diff --git a/spec/inputs/tables.yue b/spec/inputs/tables.yue index 53a53ae..0de8a8c 100644 --- a/spec/inputs/tables.yue +++ b/spec/inputs/tables.yue @@ -40,7 +40,7 @@ ya = { 1,2,3, key: 100, 343, "hello", umm: 232 } x = { 1,2, 4343, 343 ,343 } -x = [ 1,2, +x1 = [ 1,2, 4343, 343 ,343 ] g, p = { @@ -258,24 +258,24 @@ tbMix = { ... -- perform the Lua table behavior here } -tbMixA = { +do tbMixA = { ...[i for i = 1, 10] 11 } -tbMixA = [ +do tbMixA = [ ...[i for i = 1, 10] 11 ] -tbMixB = { +do tbMixB = { ... ... -- only the first item in vararg been accessed here ... {...} ... {......} 1, 2, 3 } -tbMixB = [ +do tbMixB = [ ... ... -- only the first item in vararg been accessed here ... {...} ... {......} -- cgit v1.2.3-55-g6feb