aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-03-23 20:38:55 +0100
committerGuillaume Martres <smarter@ubuntu.com>2017-03-24 17:54:24 +0100
commitb6411818b2e84c0a28c501e2814de4cfde720208 (patch)
tree44b948ae6c9803809e0729c180048ae11e4b82d6 /tests
parent65455bbcaace514ea34a30a3fc102c8ecee16498 (diff)
downloaddotty-b6411818b2e84c0a28c501e2814de4cfde720208.tar.gz
dotty-b6411818b2e84c0a28c501e2814de4cfde720208.tar.bz2
dotty-b6411818b2e84c0a28c501e2814de4cfde720208.zip
Namer#createCompanionLinks: avoid using denotNamed
The previous commit introduced two new usages of `denotNamed` which broke tests/run/t1987b because `denotNamed` indirectly calls `packageObj` which caches the package object, except that at this point the package object is not yet entered, so the cache was incorrect. We fix this by using `effectiveScope.lookup` instead since we only need to look into the current scope, this is also true for the two existing usage of `denotNamed` in `createCompanionLinks` so they were also replaced by `effectiveScope.lookup`.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions