aviatorscript icon indicating copy to clipboard operation
aviatorscript copied to clipboard

使用双斜线注释代码编译不报错,但代码运行结果不对

Open zhengshg opened this issue 3 years ago • 0 comments

问题:代码中注释误使用成双斜线//,但编译并没有报错,但代码不符合预期,版本:5.3.0

代码: if( !string.startsWith(tableName, "test")){ return false; } //注释xxxx return true;

测试数据: {"tableName":"notest"}

预期:返回false,实际:返回true

zhengshg avatar Aug 01 '22 08:08 zhengshg