You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
propose-source with formatting: "PreserveExactSource" now writes your source text exactly as supplied, including structural edits such as an added import or an appended feature. Comments, column alignment, blank lines and line endings are kept, a replaced document keeps its BOM policy, and the proposal goes through the same parse, identity, reference and compilation checks as canonical printing. CanonicalizeTouchedDocuments still reprints touched documents canonically, and propose-ast is unchanged. (#708)
A propose-source structural change refused under PreserveTrivia now names PreserveExactSource as the way to keep the supplied text. (#708)