Intellisense not working next to the length operator (#)


There is no intellisense when trying to index a property next to the length operator.

Expected behavior

I expect it to have intellisense just like normal when typing self.Property

A private message is associated with this bug report

Hello! I’ve been able to reproduce your issue locally, looks like a minimal example is:

type Pool = { numbers: { number }}

local function foobar(p)
	local pool = p :: Pool
	if #pool.| -- cursor at `|` gives less-than-expected autocomplete results
end

Thank you for the clear reproduction! We’ll try to keep you in the loop with a fix here.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.