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
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
What steps will reproduce the problem?
1. Use promise chaining method
2. On promise chain call catch method to handle errors
somePromiseFunc('foo')
.then(function(result) {
/*handle result */
})
.catch(function(err) {
/* handle error */
});
What is the expected output? What do you see instead?
Should give no error. Google linter reports "missing space before (" on catch
line.
What version of the product are you using? On what operating system?
2.3.13, OSX 10.9.5
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 5 Dec 2014 at 6:38
The text was updated successfully, but these errors were encountered:
Issue observed in v2.3.13, with both catch and finally.
Issue not observed in v2.3.19. finally as a method is tested in v2.3.19 closure_linted/testdata/spaces.js line 327 catch as a method is not tested
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Original issue reported on code.google.com by
[email protected]
on 5 Dec 2014 at 6:38The text was updated successfully, but these errors were encountered: