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

ant.Scalac should not set sourcepath by default #9778

Closed
scabug opened this issue May 16, 2016 · 2 comments
Closed

ant.Scalac should not set sourcepath by default #9778

scabug opened this issue May 16, 2016 · 2 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented May 16, 2016

Currently ant.Scalac automatically sets sourepath to origin head. This leads to problem in resolving implicits. Minimal (using gradle) is here: https://github.com/romanowski/scala-minimals/tree/sourcepath-problems

In short words:
If sourepath is set to src/master/scala then presence of scala source create new scope entries for them (for a/b/C.scala it adds class and object a.b.C - if they are not present from other source).

AFAIK sourcepath should be use only in build of scala itself so it should not be used for each compilation.

@scabug
Copy link
Author

scabug commented May 16, 2016

Imported From: https://issues.scala-lang.org/browse/SI-9778?orig=1
Reporter: @romanowski
Affected Versions: 2.11.8

@scabug scabug closed this as completed May 17, 2016
@scabug
Copy link
Author

scabug commented May 17, 2016

@lrytz said:
scala/scala#5166

@scabug scabug added the quickfix label Apr 7, 2017
@scabug scabug added this to the 2.11.9 milestone Apr 7, 2017
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

No branches or pull requests

2 participants