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

Generated types should be more permissive about Ptr types #2

Open
ekmett opened this issue Nov 21, 2014 · 5 comments
Open

Generated types should be more permissive about Ptr types #2

ekmett opened this issue Nov 21, 2014 · 5 comments

Comments

@ekmett
Copy link
Owner

ekmett commented Nov 21, 2014

Many of the types we generate take Ptr (), but which should take Ptr a unless we know more about exactly what pointer type they need.

@hadronized
Copy link

👍

@ekmett
Copy link
Owner Author

ekmett commented Feb 18, 2015

Patches welcome. =)

It really should just require threading a fresh variable supply through the type expander.

@hadronized
Copy link

I’m on it ;)

@hadronized
Copy link

Still looking for a solution. I guess we have to tweak values here, but I’m not sure at all.

@ekmett
Copy link
Owner Author

ekmett commented Feb 23, 2015

Those are the ones. You basically just need to thread a free variable list into the function that generates that.

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

No branches or pull requests

2 participants