Hello,

I just observed the following cases

iex(3)> if true do
...(3)> else
...(3)> :ok
...(3)> end
nil
iex(4)> if false do
...(4)> :ok
...(4)> else
...(4)> end
nil
iex(5)> if :anything do
...(5)> else
...(5)> end
nil
iex(6)>

Should't they give a compilation error instead due to the empty blocks?

Not only these cases are somewhat harder to read, but it seems that 
something is missing ...

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/81ee6358-695b-493d-aaf7-f310245943b6o%40googlegroups.com.

Reply via email to