Kampfkarren/selene

False positive when using methods on constant userdata values in the standard library

ambergamefam opened this issue · 1 comments

The following line of code emits a false positive "incorrect standard library use" warning:

local zAxis = Vector3.xAxis:Cross(Vector3.yAxis)
image

I was able to work around this warning by wrapping Vector3.xAxis in parentheses

    local facingVector = (Vector3.xAxis):Cross(floorCast.Normal)

Dupe of #348.