Skip to content

Addressed issue 8163 to add opaque alias info to Reflection API #8176

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

Merged
merged 2 commits into from
Feb 4, 2020
Merged

Addressed issue 8163 to add opaque alias info to Reflection API #8176

merged 2 commits into from
Feb 4, 2020

Conversation

gzoller
Copy link
Contributor

@gzoller gzoller commented Feb 3, 2020

In the Reflection API we needed a way to find out what the actual type of an opaque type alias is. This information is known to the compiler and just needed to be propagated to the Reflection API using the pattern set up already in CompilerInterface. I added 2 methods on Reflection's TypeRef. One method to test to see if the TypeRef refers to an opaque type alias, and another to return the actual Type of the alias.

This gap has been discussed on gitter.

I've signed the CLA.

Copy link
Member

@dottybot dottybot left a comment

Choose a reason for hiding this comment

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

Hello, and thank you for opening this PR! 🎉

All contributors have signed the CLA, thank you! ❤️

Have an awesome day! ☀️

Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

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

Otherwise it looks good

@nicolasstucki
Copy link
Contributor

Could you also mention Fix #8163 to make git link the issue with the commit and auto close on merge.

@bishabosha
Copy link
Member

linking #8163

@gzoller
Copy link
Contributor Author

gzoller commented Feb 3, 2020

requested changes complete

@nicolasstucki nicolasstucki merged commit 1897ce3 into scala:master Feb 4, 2020
@nicolasstucki
Copy link
Contributor

Thank you #gzoller

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.

4 participants