Rarely (once every several hours of scripting) the script editor will completely break with the following error in the Script Analysis widget:
I’m unsure if the “Lazy Type expands…” error is related to the issue but I included it just in case.
Once this happens, autofill, error checking and anything beyond syntax coloring and basic typing breaks until Studio is completely restarted. This can be quite annoying especially when mid-typing it occurs, and at times I spend several minutes trying to figure out why a path I’m typing isn’t autofilling.
(Edit: I do have the Luau Type Solver enabled in the place where this screenshot is from, so this bug report might be related: previous bug report)
I notice this seems to happen while I’m typing out paths for recently edited UI instances in StarterGui most often. I cannot confirm a 100% reproducible method though.
Expected behavior
Ideally, if Luau completely crashes then there could be a user-facing method of restarting it without restarting Studio, or it could auto-restart upon failure a few times before asking the user to fully restart.

