Trying to call functions that take self on a constructor, not all functions showing in the autocomplete menu

Today I was editing and testing out my module, until I noticed that when I try to call a function thats takes self, only a few random functions are displayed in the autocomplete menu (sometimes none at all). I already tried restarting studio and testing other modules and I get the same result. (Both of these modules are using metatables) Although, when I try to use the period on the constructor, all functions show.

Screenshot of what I mean:

When using : to call a function:

When using . to call a function:

Is this a bug I should report, or is this a something wrong with my modules?

1 Like

This keeps happening to me too, I honestly think this is a bug

1 Like

If you want to replicate, create a module with at least 5 or more functions that take self, then try to call them with autocomplete enabled.

I also just noticed that using the period doesn’t display all functions either (not sure if this is intentional?) The module in question is @stravant’s GoodSignal Implementation. Try it yourself: https://github.com/stravant/goodsignal/blob/master/src/init.lua

Sorry! I didn’t come across while I did my research about this topic. Thanks though!