When a method source contains a comment in the same line as the method selector TonelWriterMethodDefinition>>#methodBody was truncating the content assuming that there would be a new line immediately after the selector.
E.g.
someMethodSelector "A comment in the same line"
3+4.
NOTE: There is a tab character between the selector and the comment.
When a method source contains a comment in the same line as the method selector
TonelWriterMethodDefinition>>#methodBody
was truncating the content assuming that there would be a new line immediately after the selector.E.g.
NOTE: There is a tab character between the selector and the comment.