-
Notifications
You must be signed in to change notification settings - Fork 745
codegen: Reuse the next_child_local_id hack for template instantiations. #708
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
r? @fitzgen |
This should be good enough, following the pattern of anonymous items, and should prevent most of the current noise in stylo updates. Closes rust-lang#620 Fixes rust-lang#619
cc45375
to
44f6858
Compare
This works, but uses the parent item which is not great. I could use the template definition, which would need resolving through typerefs and all that. That'd produce better results I think, but it's not clear if it's worth. Whatever you prefer, @fitzgen |
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.
Nice!
@bors-servo r+ |
📌 Commit 44f6858 has been approved by |
☀️ Test successful - status-travis |
This is still pretty painful, because some template types are used widely (e.g. |
This should be good enough, following the pattern of anonymous items, and should
prevent most of the current noise in stylo updates.
Closes #620
Fixes #619