aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-11-27 03:17:40 +0100
committerGuillaume Martres <smarter@ubuntu.com>2017-01-28 19:12:19 +0100
commit57641b9c7447fa0a6f1f47352dffb4c56c560b6a (patch)
treed4d6552e801b412752eac0b67c6a71ef605c05c4 /.drone.yml
parent51a458efeeebfeed6c357d56cf8afe5b06e86724 (diff)
downloaddotty-57641b9c7447fa0a6f1f47352dffb4c56c560b6a.tar.gz
dotty-57641b9c7447fa0a6f1f47352dffb4c56c560b6a.tar.bz2
dotty-57641b9c7447fa0a6f1f47352dffb4c56c560b6a.zip
sbt.ExtractDependencies: avoid false dependencies
Type#member might return a denotation that doesn't "really exists" (as defined by TypeAssigner#reallyExists), in some circumstance this denotation can refer to a symbol in a class that is in the classpath but that is not used by this file, so using addDependency on the result of Type#member might add a false dependency. We avoid this by using Type#select instead which will internally do the right thing. This issue was discovered while compiling the bootstrapped projects which would sometimes force a full recompilation for no reason.
Diffstat (limited to '.drone.yml')
0 files changed, 0 insertions, 0 deletions