Minimal reproduction:
---@class Vector
---@operator div(number): Vector
---@return Vector
local function vector() return {} end
---@return number
local function number() return 1 end
local v = vector()
local position = vector()
position = position / number()
v = position
Should get a "Cannot assign number to Vector. " error on v.
Minimal reproduction:
Should get a "Cannot assign
numbertoVector. " error onv.