Function return typechecking within tables doesn't warn for syntax errors when a type isn't defined

Reproduction Steps

  1. Create a script
  2. Make a table type with a function type within the table. Examples:
  1. Notice that there are no warnings
  2. Test run
  3. In the output, it should state ScriptFullName:Line:Expected type, got '}'

Expected Behavior

  1. Create a script
  2. Make a table type with a function type within the table. Examples:
  1. A syntax error warning is shown

Actual Behavior
A syntax warning isn’t shown.

Issue Area: Studio
Issue Type: Other
Impact: Low
Frequency: Constantly

1 Like

Thanks for the report! We’ll follow up when we have an update for you.

2 Likes

I’ve tried testing this out, but I always get an error reported in Script Analysis widget.

The only problem I can see is that there is no red underline visible inside the script window. Is this the issue you are experiencing?

Yes, this is the error I’m experiencing.

1 Like

This has been fixed some time ago.

Sorry for reviving such an old topic, we are working on closing all stale reports like this (while checking if the issue was fixed of course).

1 Like

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