dialyzer errors after upgrading 0.6.2 to 0.6.3
brianmay opened this issue · comments
After upgrading from 0.6.2 to 0.6.3 (e.g. brianmay/phone_db#654) I am getting a dialyzer error for every view.
For example:
lib/phone_db_web/views/page_view.ex:2:no_return
Function template_not_found/2 has no local return.
The code in question is:
defmodule PhoneDbWeb.PageView do
use PhoneDbWeb, :view
end
Where PhoneDbWeb
is standard phoenix code.
I am somewhat puzzled what this has to do with pheonix_live_dashboard
, but if I downgrade pheonix_live_dashboard
it works again.
Example project (I have a number actually that demonstrate this): brianmay/phone_db#654
This is related to phoenix_view, you probably upgraded it at the same time. There is a recent issue where the spec has been removed. Please report it there and I can investigate.
Looks like somebody has already reported it: phoenixframework/phoenix_view#8