Classes and modules already use format_constant_body to format their class bodies in the same way. These same rules can be used for sclass nodes, which follow the same rules. This fixes a subtle bug that was misaligning comments at the beginning of sclass bodies.
Closes #412
Classes and modules already use
format_constant_body
to format their class bodies in the same way. These same rules can be used forsclass
nodes, which follow the same rules. This fixes a subtle bug that was misaligning comments at the beginning ofsclass
bodies.