Howdy! Earlier today I was working on a UI-Handler for a project of mine and declaring some local
variables like Lighting
and InventoryB
as usual for a revamp and when I used the variable Workspace
with local Workspace
, it gave me a syntax color for that specific tag as I haven’t seen that appear before.
When you’re editing a script and put in this, it happens inside a script or inside Roblox Studio and started to happen when the new Script Editor update got released with Extra 1 and Extra 2. Some good detail or explanation of the bug is that the workspace
Workspace
keyword gets highlighted after putting it as a local
variable or other usecases.
Image of the bug:
How to reproduce:
- First, open up a
LocalScript
or aScript
inside any Instance and use the Extra 1 or Extra 2 version for scripts to highlight as. - Second, put in this code sample when using a new syntax version:
local Lighting = game:GetService("Lighting")
local Workspace = game:GetService("Workspace")
- It should highlight the
Workspace
/workspace
as that is somehow deprecated by another user that I talked to about this.
WorkspaceSyntaxRepro.rbxl (21.1 KB)
Studio Version: 0.451.0.412446 (64-bit)
as of 10/10/2020.