-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #8856: Keep transparent flag #8857
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know. I mean, it would have been much easier to spend a flag for Transparent
but I invested quite a bit of time to avoid it! We should try to reign in the number of flags, in particular the ones that are pickled in TastyFormat.
Would it be possible to detect transparency by looking at the RHS? if it's a Typed node with the type of the result type the function is transparent.
We cannot detect if a |
The alternative would be to add an annotation. |
What is a |
I am beginning to think that the whole introduction of |
Still, we need a way for tools to know if an inline is transparent, regardless of the encoding. |
Yes, but an inline could be declared transparent if its RHS is not a type ascription. The question is: can we always see that? |
No description provided.