When using the new Lua script analysis beta, the Script Analysis linter warns of “Type mismatch number and string” on A.B(A) as long as an array value can be seen in A, when the message should be the usual “Key ‘B’ not found in table A”.
A.B(A)
local A = { "Value" } A.B(A)
This still seems to be occurring, I hope this can be fixed.
here is a snippet of my code
local Drive = {} .. Drive = nil
the error I am getting through the script analysis is this “Type mismatch Drive and nil”
Is your script in strict mode by any chance?
As far as I’m aware, I do not believe I have made the script strict, I’ll check again when I reopen studio.