0.50200.1
Significant changes in this release:
- Format property wrappers correctly. (e829789)
- Move open group token past ifstmt's if token to avoid extra newlines. (5df9eb4)
- Handle
@derivativeattribute without awrt:clause. (2c29da1) - Disallow discretionary newlines before trailing closures. (a4100c3)
- Disallow line breaks inside completely empty array and dictionary expressions. (66cac37)
- Force all branches of an
if/else if/elsesequence to break inside the{...}if the sequence requires more than one line, even for branches that contain a single statement. (c52e0d2) - Fix indentation of wrapped conditions in
whilestatements. (8fbc3f1) - Fix formatting of
@differentiablecontaining onlywrt:andwhereclauses. (0da09d0) - Fix counting of consecutive newlines. (513a2c7)
- Apply
NoEmptyTrailingClosureParenthesesrule recursively. (5cca489) - Fix some cases where
classdeclarations would overflow line length. (20162cd) - Prevent trailing commas from overflowing the maximum line length. (ed5f980)
- Detect
()cases previously missed byReturnVoidInsteadOfEmptyTuple. (ff7ac9a) - Allow right parenthesis of an
enumcaseto be on the same line as the last parameter. (a50d4fe) - Add spaces after labels for all statement types. (c7db906)
- Fix
@differentiableattribute formatting when thewhereclause is the first thing in the attribute, or when thewrt:clause is a tuple. (428b33c) - Remove calls to
FileHandle.synchronizeFile()that were crashing on Linux. (744ca11) - Restrict doc-block to doc-line transform to first doc comment on a declaration. (58ccbf3)
- Discard newlines when sorting imports. (47b5015)