diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2018-09-27 14:18:45 +0200 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2018-09-27 14:18:45 +0200 |
commit | 25873f0f29de9990d3a123d3aa062760f5407fe3 (patch) | |
tree | b65d57063f68310a9c23012bbc0ce29812c2fb25 | |
parent | bbcc42c5cf7d9d7f8f0cb8fedd8b38987021c441 (diff) | |
download | elixir-25873f0f29de9990d3a123d3aa062760f5407fe3.tar.gz |
Format kernel accordingly
-rw-r--r-- | lib/elixir/lib/kernel.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elixir/lib/kernel.ex b/lib/elixir/lib/kernel.ex index 3d68cd147..7f21b9dd7 100644 --- a/lib/elixir/lib/kernel.ex +++ b/lib/elixir/lib/kernel.ex @@ -3134,8 +3134,8 @@ defmodule Kernel do end defp range(_context, first, last) - 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 + 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 raise ArgumentError, "ranges (first..last) expect both sides to be integers, " <> "got: #{Macro.to_string({:.., [], [first, last]})}" |