I just spent a lot of time hunting down a bug in Phoenix (1.3). The problem was in /my_app/content/post.ex
, in a function called create_item/1
. I compiled several times, but this function was not working correctly.
Finally I discovered that there was another function create_item/1
in the same file (a few hundred lines down), and that was the function that was being called.
As it turned out, this was a warning that the compiler was printing to iex
, but running anyway. Is there any way to adjust the compiler's settings so that it does not allow running with warnings like this?