diff options
author | Martin Odersky <odersky@gmail.com> | 2014-09-23 14:05:14 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-09-23 14:14:40 +0200 |
commit | e2a130a32e8ec67bfc834f93ed44490bc9a83399 (patch) | |
tree | 8979e25c74990cc74847874706948c6a9e508e7e /src/dotty/tools/dotc/transform/PatternMatcher.scala | |
parent | 58ae0d03a13fbe159120c9356884f96dda37d575 (diff) | |
download | dotty-e2a130a32e8ec67bfc834f93ed44490bc9a83399.tar.gz dotty-e2a130a32e8ec67bfc834f93ed44490bc9a83399.tar.bz2 dotty-e2a130a32e8ec67bfc834f93ed44490bc9a83399.zip |
Made TypeVars uncahable keys
TypeVars can appear as keys in baseType caches. The problem is that
their base types depend on their instantiation, which is not always
know yet when the test is performed. So results of baseType on
type variables should never be cached.
Todo: check whether there are any other caching problems involving typevars.
Conflicts:
src/dotty/tools/dotc/core/SymDenotations.scala
Diffstat (limited to 'src/dotty/tools/dotc/transform/PatternMatcher.scala')
0 files changed, 0 insertions, 0 deletions