When “redefining” a function, like so:
local function test()
print("none")
end
local function test(a, b, c) -- it doesn't need to be 3 parameters, but i added some to show the problem better
print(a*b*c)
end
Intellisense marks it as an “overload” which is misleading since you can’t overload like this in Lua.
It doesn’t actually overload it either
Video of it happening:
It’s not only with functions, it does it with other datatypes too
local cool = { }
cool = 5
-- does the same thing too
Happens 101% of the time