Type checking - global assert not expecting more than one argument

Issue Type: Other
Impact: Low
Frequency: Constantly
Date First Experienced: 2021-04-08 00:04:00 (+01:00)
Date Last Experienced: 2021-04-09 10:04:00 (+01:00)

Reproduction Steps:
The following code will reproduce the warning in script analysis:

--!nonstrict

assert(true, "")

Expected Behavior:
No warning should be provided, as assert supports a second argument.

Actual Behavior:
Screenshot 2021-04-09 at 10.22.16

Workaround:
This message will not appear if --!nocheck is added to the file, to prevent type checking.

11 Likes

Thanks for reporting! The issue is being investigated.

4 Likes