From a89680fe48dd1520843d7629e2006f732e313200 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Fri, 28 Jul 2023 15:54:12 +0800 Subject: made a little optimization for try-catch syntax. --- spec/inputs/try_catch.yue | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spec/inputs') diff --git a/spec/inputs/try_catch.yue b/spec/inputs/try_catch.yue index e38cbef..96a87fc 100644 --- a/spec/inputs/try_catch.yue +++ b/spec/inputs/try_catch.yue @@ -50,5 +50,11 @@ do catch err print err +do + try + func 1, 2, 3 + + try func 1, 2, 3 + nil -- cgit v1.2.3-55-g6feb