Describe the bug
Requiring multiple non-interface namespaces from another component throws java.lang.ClassCastException.
To Reproduce
This example repository shows a minimal example workspace that reproduces the error with instructions.
Expected behavior
Instead of a stacktrace, I expect poly to give me multiple illegal dependency errors or otherwise not throw an error.
Additional context
Found while trying to reproduce the error described in this Slack thread. This error does not seem to appear on version 0.2.19.