Crash when Signature Help activated on intersected type

Reproduction Steps

  1. Ensure that the Luau-Powered Autocomplete & Language Features beta feature is enabled.
  2. Ensure that the Enable Signature Help studio setting is enabled.
  3. Open a new place.
  4. Insert a Script.
  5. Paste the following code:
type A = {A: string}
type B = () -> (string)
local t: A & B = {}
print(t())
  1. Move the cursor between the parentheses of t()

Expected Behavior
I expect that Studio does not crash when I move my cursor between the parentheses of t().

Actual Behavior
Studio crashes when I move my cursor between the parentheses of t().

Issue Area: Studio
Issue Type: Crashing
Impact: High
Frequency: Constantly
Date First Experienced: 2021-09-11 00:09:00 (+00:00)
Date Last Experienced: 2021-09-11 00:09:00 (+00:00)

3 Likes

Can reproduce. This happened a few weeks ago, when putting my cursor simply between function() froze my Studio forever, that was a one-time thing though, and is probably unrelated to this bug.

I tried this a few times, and it crashed every time.

2 Likes

Thank you for the bug report. We have found the problem and have a fix which will release soon.

4 Likes

This issue should now be fixed; if you have any follow-ups, please open a new topic.

1 Like

This topic was automatically closed after 7 days. New replies are no longer allowed.