> Currently we have different ways to display errors or warnings during > compile time, we should normalize the output. I would say currently there is one way to displays errors and one way to display warnings.
I think it is important to keep different formats to visually differentiate them with ease. On Tue, 26 Nov 2019 21:57:00 -0800 (PST) Mijail Rondon <mijail.ron...@gmail.com> wrote: > Hello Elixir Core, > > Currently we have different ways to display errors or warnings during > compile time, we should normalize the output. > > For example, warnings are displayed as: > > warning: unused alias Stream > lib/actions_sample.ex:2 > > and compile errors as: > > ** (SyntaxError) lib/actions_sample.ex:15: unexpectedly reached end of > line. ... > > So, no problem with compile errors but warnings should have the same format > as: > > ** (Warning) lib/actions_sample.ex:2: unused alias Stream > > The main reason to make this change is because in CI we have the ability of > catch those warnings or errors > and add annotations on specific lines of the corresponding files. > > If we normalize the warnings this will be possible to add annotations of > warnings to. > -- 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 elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/20191127195511.16c3cd8f%40localhostx.