xLua icon indicating copy to clipboard operation
xLua copied to clipboard

错误的table也能隐式转成Vector3

Open zxt5105515 opened this issue 5 years ago • 1 comments

local errorVec = {} print(Vector3.one - errorVec)

以上代码可以运行,没有报错,输出的是(1.0, 1.0, 1.0)

不能检查Vector3的合法性吗

zxt5105515 avatar Jun 01 '20 09:06 zxt5105515

wwwwww

FalleverX avatar Aug 06 '24 01:08 FalleverX