aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/parsing
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-01-25 11:20:09 +1100
committerMartin Odersky <odersky@gmail.com>2017-02-08 19:35:58 +1100
commit971b233bc916ddbb4501f480500f9531fab99f78 (patch)
treecb5fc61663a56ff62d4df8fa92265c74cc8e58af /compiler/src/dotty/tools/dotc/parsing
parentda7d7231b7f21fe1085abc569eb783590074a359 (diff)
downloaddotty-971b233bc916ddbb4501f480500f9531fab99f78.tar.gz
dotty-971b233bc916ddbb4501f480500f9531fab99f78.tar.bz2
dotty-971b233bc916ddbb4501f480500f9531fab99f78.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 'compiler/src/dotty/tools/dotc/parsing')
0 files changed, 0 insertions, 0 deletions