Correct. We had this discussion before and we reached some important
conclusions:

* warnings and errors should be visually distinct

* output should favor human readability rather than being parseable by
machines

* because compiling Elixir code is the same as running Elixir code,
compilation can fail due to runtime errors, and those will always have a
full stacktrace. This is a contrast to syntax errors, which always point to
the source location

Given these reasons, we introduced a diagnostics API in Mix that returns
structured data so it can be output in any format of choice. Perhaps it is
worth giving it a try.
-- 


*José Valim*
www.plataformatec.com.br
Founder and Director of R&D

-- 
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/CAGnRm4%2BXah_U8utecub0yS_pTShJdj3%2BXT8UiaZPbMdYa3AQ_A%40mail.gmail.com.

Reply via email to