From 3eedd027bddc1ad9099d647e83ae4a83589db191 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 9 Mar 2021 22:36:59 +0800 Subject: fix an issue with local statement. --- spec/inputs/local.yue | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec') diff --git a/spec/inputs/local.yue b/spec/inputs/local.yue index 33251a9..8e04742 100644 --- a/spec/inputs/local.yue +++ b/spec/inputs/local.yue @@ -91,4 +91,8 @@ do -- this generates a nil value in the body for a in *{} do _ = a +do + local * + x = a or b + g = 2323 -- test if anything leaked -- cgit v1.2.3-55-g6feb