-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
poly check treats :as-alias namespace as loaded #247
Comments
Okay, thanks for the info. |
I haven't had time to do this yet but might have time this weekend. I have a couple of other, very minor fixes to propose as well so I may send PRs for those soon too. |
Here's the change we made in our fork to simply "ignore" requires that use This isn't ideal (per discussions on Slack) because it prevents |
I may have a simple solution to this. Will look into this today @seancorfield. |
I have hopefully fixed the problem, and you can have a look at the issue-247 branch, @seancorfield. |
That sounds like a pretty slick solution to the problem. I'll try to find time over the weekend to put together a branch based on |
OK, I merged your issue-247 branch into a new branch in my fork (as-alias-247) and then cherry-picked my classloader and GC commits onto that, and I've set a reminder for Monday for me to test that as work. I should have feedback for you pretty quickly at that point. |
Ignore reference to a component interface if required as :as-alias, see issue #247.
This fix seems to be working well. Thank you! |
The PR for this has been merged so this issue and #211 are both completed. |
Describe the bug
A namespace referenced purely for an alias, via
:as-alias
, does not cause a circular reference, butpoly check
incorrectly treats it as fully-loading the namespace (it should not).Will provide more details shortly, along with a PR since this is a critical blocker for us at work.
The text was updated successfully, but these errors were encountered: