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

Fixed printing bottom problem #841

Merged
merged 1 commit into from
Jul 3, 2017
Merged

Conversation

supercooldave
Copy link

This PR converts BottomType to (void *) in code generation, rather than generating an error. My argument that this is safe is that anything of BottomType (or involving BottomType) never produces a value of BottomType, so the actual type could be anything.

This fix was also tested with a larger program that had the same error in a different branch, but I was unable to reproduce that error in this branch.
Fixes #836.

Copy link
Contributor

@EliasC EliasC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Straightforward and reasonable! Merging tomorrow.

@EliasC EliasC merged commit dc580a1 into parapluu:development Jul 3, 2017
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

Successfully merging this pull request may close these issues.

printing Nothing crashes the compiler
2 participants