elixirscript icon indicating copy to clipboard operation
elixirscript copied to clipboard

enforce extra type checks

Open vans163 opened this issue 8 years ago • 1 comments

[] |> :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.

vans163 avatar Sep 11 '17 17:09 vans163

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

bryanjos avatar Sep 12 '17 13:09 bryanjos