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
{{ message }}
Repository navigation
Formatter drops a comment before the spread of a list pattern like list{/* c */ ...r} #9123
The comment /* d */ is gone. list{...r} parses to the pattern r itself, so the printer prints r, and the comment attached to the spread is never printed. The expression list{/* h */ ...xs} keeps its comment (/* h */ xs), and list{a, /* e */ ...r} keeps it too (with #9119).
Found while working on #9107; #9119 does not change this case.
Activity
Keep the comments around a list pattern's only spread when formatting (…
Keep the comments around a list pattern's only spread when formatting (…