fix and improvements

This commit is contained in:
csh
2025-06-17 13:12:53 +08:00
parent 211dd22a4d
commit cbcff7d1b4
6 changed files with 112 additions and 71 deletions
+3 -2
View File
@@ -49,7 +49,9 @@ f(a, b);
f(a: 1; b: 's');
// 三元表达式(不应该有冲突)
// 类变量声明,三元表达式(不应该有冲突)
a: string;
[weakref]b: MyClass;
a ? b : c;
a ? b : c ? d : e;
@@ -62,4 +64,3 @@ select distinct ["test"] from table where ['a'] = 1 end;
a := array(1, 2);
b := array((1, 2), (3, 4))