The Return statement missing in function test-check indicates that there is not return statement in the function, but a function like this does not generate any editor errors (but the building fails nonetheless):

function test() : String
{
    if (false)
    {
        return null;
    }
    else
    {
        
    }
}
Submitted by D. Pelsmaeker on 23 March 2012 at 17:11

Log in to post comments