Skip to content

Callback marks strings as Immutable - #24

Closed
AlejandroFrias wants to merge 2 commits into
ppannuto:masterfrom
AlejandroFrias:master
Closed

Callback marks strings as Immutable#24
AlejandroFrias wants to merge 2 commits into
ppannuto:masterfrom
AlejandroFrias:master

Conversation

@AlejandroFrias

Copy link
Copy Markdown

Fixes #22

What do you think of this strategy? Anytime a word is added by a callback, we assume that user doesn't want it modified again, other than what the callback has done to it. So we mark it as immutable so that we won't modify it during the the SMALL_FIRST/SMALL_LAST step?

@coveralls

coveralls commented Mar 9, 2017

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.5%) to 82.353% when pulling 5195068 on AlejandroFrias:master into 9419f43 on ppannuto:master.

1 similar comment
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.5%) to 82.353% when pulling 5195068 on AlejandroFrias:master into 9419f43 on ppannuto:master.

ppannuto added a commit that referenced this pull request May 19, 2017
Fix from @AlejandroFrias in #24, squashed and added a comment.
ppannuto added a commit that referenced this pull request May 19, 2017
  * #24 from @AlejandroFrias: Mark callback strings immutable
  * #25 from @Garret-R: Handle dashes — unicode codepoints 2012 through 2016
@ppannuto

Copy link
Copy Markdown
Owner

Merged via 50cdcae -- thanks!

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.

3 participants