Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proper concatenation of Message #987

Merged
merged 2 commits into from
Apr 13, 2020
Merged

proper concatenation of Message #987

merged 2 commits into from
Apr 13, 2020

Conversation

an-tex
Copy link
Contributor

@an-tex an-tex commented Apr 5, 2020

fixes #983

val thisTail = thisTails.head

val (thatHeads, thatTail) = that.template.parts.splitAt(1)
val thatHead = thatHeads.head
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@an-tex Could you please make it work if the right Message is empty (Message(StringContext(), Nil)) or consists of one part (Message("")), and add a test for that?

@neko-kai neko-kai merged commit 514303f into 7mind:develop Apr 13, 2020
@neko-kai
Copy link
Member

@an-tex Thank you so much! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

logstage: concatenation of Message results in trimmed spaces at the beginning
2 participants