blob: ab01fe6551fe772c35f9f2b469203898c1587928 [file] [log] [blame]
>>> comments on single cascade lines
receiver..cascade(); // comment
<<<
receiver..cascade(); // comment
>>> comments on split cascade lines
receiver
..cascade() // a
..cascade() // b
..more(); // c
<<<
receiver
..cascade() // a
..cascade() // b
..more(); // c
>>> comment before first multi-line cascade section stays on line
receiver // comment
..cascade()
..more();
<<<
receiver // comment
..cascade()
..more();
>>> collapse blank lines before comment before first cascade
receiver
// comment
..cascade()
..cascade();
<<<
receiver
// comment
..cascade()
..cascade();
>>> preserve one blank line before comments on other cascades
receiver
// comment
..cascade()
// no blank
..cascade()
// comment
..cascade()
// comment
..cascade();
<<<
receiver
// comment
..cascade()
// no blank
..cascade()
// comment
..cascade()
// comment
..cascade();