Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialyzer and .Proto modules #82

Open
rparcus opened this issue Aug 19, 2020 · 2 comments
Open

Dialyzer and .Proto modules #82

rparcus opened this issue Aug 19, 2020 · 2 comments

Comments

@rparcus
Copy link

rparcus commented Aug 19, 2020

Hi, I'm taking a look at this project as a means to learn more about the topic.
I thought about running dialyzer to see what it would find.

Why are dialyzer and the compiler so unhappy about these .Proto modules?

image

image

@cognivore
Copy link

Really interested in this too!

@cognivore
Copy link

@rparcus I figured it out. The reason is that things were defined as protocols, but not unwrapped into behaviours because Elixir has a generality bug, which the maintainers don't want to fix, where one couldn't make a 0-sized protocol.

This commit works around this bug. And Goo, the FP-centric Elixir fork, incorporates QuinnWilton's bugfix allowing for 0-size protocols into the core language itself.

I'm not sure what to do with this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants