-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bad assertion in function signatures (#110)
This patch removes an assertion about whitespace after the `function` keyword in the indent pass. The core issue is the `is_longform_anon_function` predicate which is wrong for the testcases, but the assert is not needed since we can just use the next non-whitespace noce as the signature in all cases. Fixes #109.
- Loading branch information
1 parent
3fea042
commit 4649fc7
Showing
2 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters