aboutsummaryrefslogtreecommitdiff
path: root/out
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-01-25 11:20:09 +1100
committerMartin Odersky <odersky@gmail.com>2017-01-31 16:14:18 +1100
commit30f3ea1710203b7ccd004bdee414389342d589dc (patch)
tree322c063a377ec04c7036bf39c8da25b2fd831b37 /out
parentd087448fdffff8f64a23d9db39445455cddc2fc6 (diff)
downloaddotty-30f3ea1710203b7ccd004bdee414389342d589dc.tar.gz
dotty-30f3ea1710203b7ccd004bdee414389342d589dc.tar.bz2
dotty-30f3ea1710203b7ccd004bdee414389342d589dc.zip
Avoid recomputation of companionRefs
The previous condition for caching companionRefs contained a condition result.companionRefs.forall(implicitScopeCache.contains) which was always false because we cache types in `implicitCodeCache`, not companion refs. The new logic fixes this and does not need a second traversal because it is integrated in `iscopeRefs`.
Diffstat (limited to 'out')
0 files changed, 0 insertions, 0 deletions