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

enforce extra type checks #405

Open
vans163 opened this issue Sep 11, 2017 · 1 comment
Open

enforce extra type checks #405

vans163 opened this issue Sep 11, 2017 · 1 comment

Comments

@vans163
Copy link
Contributor

vans163 commented Sep 11, 2017

[] |> :erlang.binary_to_integer
NaN

length(0)
undefined

We should crash here, given that is the behavior of elixir. I am sure there is many more like this.

@bryanjos
Copy link
Collaborator

I'm sure there are more too. Will probably have to investigate how each works. For some I tried to go by what the erlang docs said, but I think some of the crash scenarios may not be documented

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

No branches or pull requests

2 participants