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
extract class dependency from 'classOf' Literal #510
Conversation
Hi @natansil, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
@jvican as requested |
I've signed the CLA |
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.
LGTM, thanks for the PR 😄 Just one comment.
@@ -112,6 +112,25 @@ class DependencySpecification extends UnitSpec { | |||
assert(inheritance("B") === Set.empty) | |||
} | |||
|
|||
it should "extract class dependency from 'classOf' literal" in { |
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.
Could you also add a scripted (integration) test?
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.
Do you mean adding a test a long side this one?
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.
I mean adding a test like that one but that would fail compilation if it this fix wasn’t present, and that would succeed after the patch.
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.
done
2972674
to
ccd17b6
Compare
thank you @natansil! |
@dwijnand Happy to contribute. |
fixes issue #508