Comments (10)
Please try again, it should be good now.
@tank-bohr I am not sure how to support your use case. :(
from phoenix_view.
I'm also experiencing this. These dialyzer errors can be reproduced by generating a brand new Phoenix project with mix phx.new example --no-assets --no-ecto
, adding {:dialyxir, "~> 1.0", only: [:dev], runtime: false}
to the deps, and running mix dialyzer
.
I've tried updating the phoenix_view
package to use master and I still get the error.
Thanks.
from phoenix_view.
The story behind this is described here #7
It complains about this method for every single :view file.
This is something I've completely missed. I naively thought it'd affect only ErrorView.
Now it looks very tricky. I have no idea how workaround this issue :(
from phoenix_view.
Shipped/ Thanks!
from phoenix_view.
Can you please check if it is address on master?
from phoenix_view.
/cc @tank-bohr
from phoenix_view.
@tank-bohr @thiagogsr @bryansray @balexand can you please try master again? I am giving no_return | term
a try. Thanks!
from phoenix_view.
just tested @josevalim but didn't help
for anyone who wants to repeat the test, you can override the dependency with the following line:
{:phoenix_view, github: "phoenixframework/phoenix_view", branch: "master", override: true},
from phoenix_view.
It's indeed good now :-)
done (passed successfully)
from phoenix_view.
Just want to chime in, fwiw, that I, too, ran into this issue last night with 1.1.1
, and can verify I no longer have dialyzer
failures when I set phoenix_view
as a dep from master
.
from phoenix_view.
Related Issues (7)
- first release? HOT 2
- Render issues HOT 5
- Phoenix.view.render_to_string/3 not working for text files HOT 5
- Missing changelog / suggest creating a specific upgrade guide. HOT 11
- Migration guide doesn't address controller breakage HOT 3
- [question] Should the `:as` option of render_one/4 and render_many/4 be passed to render? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phoenix_view.