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

Index non-scala target dependency sources #3628

Merged
merged 1 commit into from
Feb 12, 2022

Conversation

Arthurm1
Copy link
Contributor

Java only targets don't get their dependency source jars indexed. For comprehension didn't get past scalaTarget <- buildTargets.scalaTarget(item.getTarget)

I've assumed a 2.13 dialect for java-only targets - is that correct?

Copy link
Member

@dos65 dos65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!
LGTM

@dos65
Copy link
Member

dos65 commented Feb 12, 2022

@Arthurm1

I've assumed a 2.13 dialect for java-only targets - is that correct?

Actually this thing with passing dialect and it's type is far from being perfect.
Dialect value doesn't affect java sources indexing but it's required to pass some of it.
It would be nice to refactor this thing in future.

@dos65 dos65 merged commit 05cddcb into scalameta:main Feb 12, 2022
@Arthurm1 Arthurm1 deleted the java_dependency_sources branch February 18, 2022 13:08
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 this pull request may close these issues.

2 participants