You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per #947, we currently require a return expression in a non-void returning function unless the first and only expression is a throw statement. This is basically an exemption to allow for throw new Exception('Not Yet Implemented'). It seems reasonable to allow throwing further along in a block if we're willing to try to track control flow, at which point we could likely also check for appropriate return expressions from all branches.