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

Compiler: avoid remove_indirection in TypeDefType #7971

Merged

Conversation

bcardiff
Copy link
Member

Otherwise, actual type in upcast/downcast/assign was lost in Lib type declaration.

There was already a remove_typedef that seems more accurate for the check_fun_out_args.

Discovered while trying to change the union codegen strategy.

Otherwise actual type in upcast/downcast/assign was lost in Lib type declaration
Copy link
Member

@asterite asterite left a comment

Choose a reason for hiding this comment

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

Good catch!

@bcardiff bcardiff merged commit 75ee25c into crystal-lang:master Jul 17, 2019
@bcardiff bcardiff added this to the 0.30.0 milestone Jul 17, 2019
@bcardiff bcardiff deleted the compiler/refactor-typedeftype branch July 17, 2019 23:50
dnamsons pushed a commit to dnamsons/crystal that referenced this pull request Jan 10, 2020
Otherwise actual type in upcast/downcast/assign was lost in Lib type declaration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants