So this only seems to happen when I'm writing a new function in a script and typing out one of the params of the function, but I'm seeing this error pop up with the autocomplete in this specific scenario:

In the console, for every character I type, it'll return the following error:
Error in if (length(object)) { : argument is of length zero
Here's how it looks in console:

Anyone have any idea why this is happening? It's not super disruptive, just weird. Once I write the function to the environment the issue goes away until I start writing a new function.