When setting a key in a dictionary, it will always make the key a string instead of using the variable with the same name. This can be confusing. Adding a warning when setting the key on line 2 would make this clearer
local Test = 123
local Table = {Test = true}
print(Table.Test) --123
print(Table[Test]) --nil
I often use same names for variables and dictionary entries for internal values in some of my instances, so I am against this request. If you really have this issue, then consider renaming your variables to something that wouldn’t conflict with indices.