-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow declarations that start with a multiline comment
The semi-suppressor is a little too aggressive: if it sees something like: ``` class Foo { let property1: String /* visible for testing */ var property2: String } ``` It will suppress the newlines before `property2` and cause compilation to fail. If the comment were on its own line, it would be fine, because there's still another semi in the way. The best way to fix this seems to be to allow multiline comments themselves to count as separators.
- Loading branch information
1 parent
fb5da3e
commit efc9d5e
Showing
3 changed files
with
11 additions
and
3 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
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