We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f63139 commit e4c1e3dCopy full SHA for e4c1e3d
lib/elixir/lib/kernel.ex
@@ -3038,8 +3038,8 @@ defmodule Kernel do
3038
end
3039
3040
defp range(_context, first, last)
3041
- when is_float(first) or is_float(last) or is_atom(first) or is_atom(last) or
3042
- is_binary(first) or is_binary(last) or is_list(first) or is_list(last) do
+ when is_float(first) or is_float(last) or is_atom(first) or is_atom(last) or
+ is_binary(first) or is_binary(last) or is_list(first) or is_list(last) do
3043
raise ArgumentError,
3044
"ranges (first..last) expect both sides to be integers, " <>
3045
"got: #{Macro.to_string({:.., [], [first, last]})}"
0 commit comments