Red bar fills up the entire next line when not completing type definitions

Reproduction Steps
Create any script. Paste in one of these two code snippets:

type test =

export type test =

Make sure that there is no space after the = sign and that there’s at least one empty line after the equal sign (or you can type in return).

Notice the red bar that extends throughout the last line:


If you used return, a red line will appear at the first incidence:


Expected Behavior
Make any script. Paste in one of these two code snippets:

type test =

export type test =

A normal error line is shown

Actual Behavior
A red bar extends over an entire line.

Issue Area: Studio
Issue Type: Display
Impact: Low
Frequency: Constantly
Date First Experienced: 2022-05-06 00:05:00 (-04:00)

7 Likes

Hi PienAppel,

Would you also share the error message show in ScriptAnalyzer widget?

1 Like

Since @OP is not responding, I’ll show the error. Its not something unique though.

1 Like

Working as designed, just let us know if you have any questions.

I wasn’t sure what it was. If it’s supposed to signify an error, shouldn’t it be underlined in red instead?