I have restarted studio multiple times and there is this reoccurring bug where an error has been resolved but the underline still shows, and another thing to note is that the warning underlines position is where it was for the actual duplication of the function.
This started happening on April 17th 2020
I have the “Enable New Lua Script Analysis” beta feature enabled, and I didn’t notice the error when i left the game so when i reopened it i started experiencing this.
I found a way to reproduce it. These are the ways i reproduced it dont know if you can another way.
Team Create has to be on!
- localscript in starter gui
- duplicate the “test()” function again (for me it took awhile for the error to show up)
- commit the file
- exit the place
- come back and change the name of the function and the error will still be there even though the error was solved
as you can see the error line is where it would be if it was underlining “test”. This may lead to the Luau ran into an unexpected error and will not type check
error.
I have no clue if the error will stay the same if i send the file but following those steps should reproduce it.
Windows 10 Professional, Version 10.0.18362 Build 18362
script_editor_error.rbxl (18.2 KB)