The FIXME comment is provocative, but I haven't repro'd yet. This changes
the behavior in the surprising case, but that doesn't seem to affect any
tests, and returning a bool type for void doesn't seem any more correct
than letting the default code handle the odd situation.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Aaron, do you remember why you added a check for width == 0 here? Would it ever not be 0?
Comment Actions
That's a good question and I'm not sure. If all the tests pass you can make it return unconditionally.
Comment Actions
Per Aaron's suggestion, I ran the tests with an unconditional return (and an assertion). There was no change in the test results, so I'm making this return unconditionally.