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

[KSP2] Resolver.getDeclarationsFromPackage() returns declarations from the default package when passing in an unknown package #1722

Closed
kuanyingchou opened this issue Feb 8, 2024 · 0 comments · Fixed by #1726
Assignees

Comments

@kuanyingchou
Copy link
Contributor

When getting the declarations from an unknown package like this:

resolver.getDeclarationsFromPackage("does.not.exist")

KSP 1 returns an empty Sequence while KSP 2 returns declarations from the default package.

Tested with 42217b8 and 2.0.0-Beta3-1.0.18-20240207.110119-15.

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 a pull request may close this issue.

2 participants