Autocompletion fails for typed table literals within bracket-key initializers

When defining a dictionary-style table with a type annotation like {[string]: MyType}, Studio does not give auto-completion suggestions

Expected behavior

I expect Studio to provide autocompletion when I start typing inside the {}

repo code:

Script 1:

...
export type AssetInfo = {
    Price: number,
    Name: string,
    Category: string
}
...

Script 2:

...
type AssetInfo = typeof(require(PATH_HERE).AssetInfo)

local MyLibrary: {[string]: AssetInfo} = {
    ["12345"] = {
        -- Autocomplete fails here.
        -- If you start typing "P", "Price" does not get suggested.
    }
}
...

Hello! Thank you for your report, and I’m sorry to hear you’re running into issues with autocomplete. Do you mind sharing a complete minimal example? Perhaps as an RBXL file that I can open directly?

In the example above, for Script 2, you might be able to write:

local OtherModule = require(PATH_HERE)
type AssetInfo = OtherModule.AssetInfo

local MyLibrary: {[string]: AssetInfo} = {
    ["12345"] = { --[[ ... ]] }
}

… and see that autocomplete is working as expected, as well. That seems to work for my Roblox Studio.

You may close this report. I accidentally left some test code in the module that defined this type, which caused this issue.