Closed kipcole9 closed 6 years ago
Interesting! Thank you for the report. That's totally a bug.
Maybe related issue that I'm getting in cldr. Also just clone, mix deps.get
, mix dialyzer
. BTW in both cases --format short
works fine.
** (SyntaxError) nofile:1: syntax error before: '<'
(elixir) lib/code.ex:483: Code.format_string!/2
lib/dialyxir/pretty_print.ex:112: Dialyxir.PrettyPrint.pretty_print_type/1
lib/dialyxir/warnings/pattern_match.ex:18: Dialyxir.Warnings.PatternMatch.format_long/1
lib/dialyxir/formatter.ex:143: Dialyxir.Formatter.format_warning/2
lib/dialyxir/formatter.ex:80: anonymous fn/2 in Dialyxir.Formatter.format_and_filter/3
(elixir) lib/enum.ex:1298: Enum."-map/2-lists^map/1-0-"/2
(elixir) lib/enum.ex:1298: Enum."-map/2-lists^map/1-0-"/2
I'm adding something in https://github.com/jeremyjh/dialyxir/pull/169 that will get me better error messages from your bugs, and prevent the program from blowing up at the place it's blowing up for you. Sorry about that crappy behavior! We'll get much more reasonable bugs soon.
Thats in master now.
@kipcole9 I suspect once #170 is merged the second one will still fail but the issue attached to this issue will work. Can you make a separate issue with the new output once it is merged? Thank you 😄 ❤️
I am slowly working on getting Dialyzer to pass on ex_money. On master branch of
dialyxir
I am getting the following exception. To reproduce, clone the repo, fetch deps and run the below.Thanks for all the effort to help make dialyzer more accessible. I still struggle badly but with the formatter I am more encouraged to persevere.