DescriptionTweak formatting rules. Fix #211.
Discard open spans when a hard split occurs.
This is a correctness issue, not a performance one. The previous
code would leave spans open even when a hard split occurred in
them. These were mostly innocuous since they ended up with
totally bogus ranges, but they apparently do affect some
corner-case formatting.
Some of this was triggered by the previous patch which was for
perf but also made some stuff more correct.
BUG=https://github.com/dart-lang/dart_style/issues/
R=pquitslund@google.com
Committed: 425ed080df27a2f66ab91f7161bb0600e4329ea6
Patch Set 1 #Patch Set 2 : Update changelog. #
Messages
Total messages: 4 (1 generated)
|