instantiations / tonel-vast

Tonel file format writer and reader implementation for VA Smalltalk
MIT License
9 stars 3 forks source link

Wrong method body parsing with comments in the same line as selector #107

Closed eMaringolo closed 2 years ago

eMaringolo commented 2 years ago

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.