Rapid memory leak when the type definition file contains declare class Widget state: {string: function(string, Widget)} end
#756
Labels
bug
Something isn't working
If I copy paste the above text into a type definition file and reload the lsp, luau-lsp starts leaking memory at around 100MB+ per second until the system runs out of ram.
The culprit seems to be
{string: function(string, Widget)}
. The syntax is probably wrong. If I use(string, Widget) -> nil
instead, there's no leak.But just wanted to report the leak anyway, as someone else might fumble into this issue.
The text was updated successfully, but these errors were encountered: