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

Support OTP-21's unicode-only constraints #37

Merged
merged 1 commit into from
Nov 1, 2017

Conversation

ferd
Copy link
Contributor

@ferd ferd commented Nov 1, 2017

Functions start being available in OTP-20, so to get rid of warnings, a
conditional compilation flag is set there.

The cspan function has no direct equivalent, but can be worked around.
Likely heavier work would be required around its usage where strings are
not handled as lists, but only through 'string' functions. However this
will still cover most cases and get rid of compile-time warnings for
now.

Functions start being available in OTP-20, so to get rid of warnings, a
conditional compilation flag is set there.

The cspan function has no direct equivalent, but can be worked around.
Likely heavier work would be required around its usage where strings are
not handled as lists, but only through 'string' functions. However this
will still cover most cases and get rid of compile-time warnings for
now.
@jcomellas jcomellas merged commit fe027dc into jcomellas:master Nov 1, 2017
@jcomellas
Copy link
Owner

Thanks!

@ferd
Copy link
Contributor Author

ferd commented Nov 1, 2017

Thanks. Let me know when this is on hex; I'm updating dependencies of rebar3 ahead of time.

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