I was changing some code, removed all the extra params to the function and
forgot to simplify the capture, so I notice that the formatter also don't
care about it. So, I would like to add this rule, it feels way nicer to
read and I didn't see anything about this case:
assert_format "&foo(&1)", "&foo/1"
assert_format "&foo(&1, &2, &3)", "&foo/3"
I would be happy to do it if people agree.
Cheers,
Glauber
--
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/CACh1tgG03MUYHdMqS4ii4wtzeqUu6FwhRVKej5ecp1gYmA7tSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.