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
@derivative
attribute 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/else
sequence 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
while
statements. (8fbc3f1) - Fix formatting of
@differentiable
containing onlywrt:
andwhere
clauses. (0da09d0) - Fix counting of consecutive newlines. (513a2c7)
- Apply
NoEmptyTrailingClosureParentheses
rule recursively. (5cca489) - Fix some cases where
class
declarations 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
enum
case
to be on the same line as the last parameter. (a50d4fe) - Add spaces after labels for all statement types. (c7db906)
- Fix
@differentiable
attribute formatting when thewhere
clause 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)