Bug SS-2321
1 vote

error("") silently breaks execution without error

Created by Mike Kaganski on 4/19/2016 2:56 AM Last Updated by smath on 4/19/2016 4:50 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

error("") - i.e. with empty string as argument - does break block execution, but doesn't emit error, and its result is undefined. Trying to assign will not change previous value of variable.

The screenshot attached shows the problem.

If such use will happen inside a function, it will be extremely hard to debug :)

    smath (Tuesday, April 19, 2016 4:49 PM) #

Fixed.