Does anyone know why the cond does not provide a stack trace (anymore if it did in the past, do not recall).
Example of a failing case and cond.
iex(1)> case :ok do :error-> :ok end
** (CaseClauseError) no case clause matching: :ok
(stdlib) erl_eval.erl:968: :erl_eval.case_clauses/6
(iex) lib/iex/evaluator.ex:257: IEx.Evaluator.handle_eval/5
(iex) lib/iex/evaluator.ex:237: IEx.Evaluator.do_eval/3
(iex) lib/iex/evaluator.ex:215: IEx.Evaluator.eval/3
(iex) lib/iex/evaluator.ex:103: IEx.Evaluator.loop/1
(iex) lib/iex/evaluator.ex:27: IEx.Evaluator.init/4
iex(1)> cond do :ok==:error -> :ok end
** (CondClauseError) no cond clause evaluated to a truthy value
Where is the stack trace!?