Skip to content

'parseText' becomes 'parseText'/'parseTextPos', depending on the output type#47

Merged
snoyberg merged 1 commit intosnoyberg:masterfrom
k0ral:master
Apr 22, 2015
Merged

'parseText' becomes 'parseText'/'parseTextPos', depending on the output type#47
snoyberg merged 1 commit intosnoyberg:masterfrom
k0ral:master

Conversation

@k0ral
Copy link
Copy Markdown
Collaborator

@k0ral k0ral commented Apr 22, 2015

This is consistent with the existing parseBytes/parseBytesPos.
However, this is a backward-incompatible change...

@snoyberg
Copy link
Copy Markdown
Owner

Despite the current API inconsistency, I'd rather not break the API. How about:

  • Add parseTextPos as you have
  • Add parseText' with the type of parseText in your PR
  • Deprecate parseText referencing these other two functions

@k0ral
Copy link
Copy Markdown
Collaborator Author

k0ral commented Apr 22, 2015

I've fixed the PR according to your comments.

snoyberg added a commit that referenced this pull request Apr 22, 2015
'parseText' becomes 'parseText'/'parseTextPos', depending on the output type
@snoyberg snoyberg merged commit 5d68265 into snoyberg:master Apr 22, 2015
@snoyberg
Copy link
Copy Markdown
Owner

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.

2 participants