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

Implement summonIgnoring #22417

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Implement summonIgnoring #22417

wants to merge 3 commits into from

Conversation

jchyb
Copy link
Contributor

@jchyb jchyb commented Jan 20, 2025

Related discussion: #21909
We have yet to confirm/discuss whether this should/can be merged, but otherwise I consider this a complete implementation.
One thing to note - I decided it would be better for the ignored list to not affect indirect implicit searches (like in the tests/run-macros/summonIgnoring-nonrecursive test.

@soronpo
Copy link
Contributor

soronpo commented Jan 21, 2025

If we do this, I think this functionality should be also in compiletime.summonIgnoring

@jchyb
Copy link
Contributor Author

jchyb commented Jan 21, 2025

It's actually macros-only for now, but of course users could just prepare their own macro method that summons what they want and returns it for use elsewhere

@Gedochao Gedochao added the needs-minor-release This PR cannot be merged until the next minor release label Jan 22, 2025
@Gedochao Gedochao requested review from odersky and noti0na1 January 22, 2025 15:27
@jchyb jchyb changed the title Draft: Implement summonIgnoring Implement summonIgnoring Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-minor-release This PR cannot be merged until the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants