-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't move a comment between a modifier and return type.
When formatting a function, method, getter, or function type, the formatter hoists any leading comments out so that they don't force a split between the return type and body. However, it failed to take into account modifiers that may occur before the return type but after the comment. If that happened, the comment would get moved before the modifiers. Fix #1585.
- Loading branch information
1 parent
89577e7
commit 57c9d76
Showing
4 changed files
with
59 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
>>> | ||
class AaaaAaaaa { | ||
external Aaaaaa get aa; | ||
external Aaaaaa get aaAaa; | ||
external Aaaaaa get aa; | ||
external aaaa get aaaa; | ||
external /*AaaaaaAaaa*/ aaa get aa; | ||
external Aaaaaa get aaa; | ||
} | ||
<<< | ||
class AaaaAaaaa { | ||
external Aaaaaa get aa; | ||
external Aaaaaa get aaAaa; | ||
external Aaaaaa get aa; | ||
external aaaa get aaaa; | ||
external /*AaaaaaAaaa*/ aaa get aa; | ||
external Aaaaaa get aaa; | ||
} |