aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-11-14 17:34:48 +0100
committerMartin Odersky <odersky@gmail.com>2013-11-14 17:34:48 +0100
commit9c85d93caca274943b2caf028e850261ade257d6 (patch)
tree9115ac429b34ea4abd8ca20a5fa01b706f1da796 /src/dotty/tools/dotc/core/SymDenotations.scala
parent7e46c4474d67da1472d1f0d210f123387fd1bb0f (diff)
downloaddotty-9c85d93caca274943b2caf028e850261ade257d6.tar.gz
dotty-9c85d93caca274943b2caf028e850261ade257d6.tar.bz2
dotty-9c85d93caca274943b2caf028e850261ade257d6.zip
Changes to dealiasing and widening
1) Mappers and Accumulators now reduce typerefs over refinements but do not follow general type args Following type args in asSeenFrom leads into trouble because it specializes covariant aliases too early. A later as seen from might specialize the same alias with a more specific type. 2) The isDependent test in method type now uses a custom accumulator, because it needs to not flag erroenously types of the form p.T where p is a method paramater and T is a type parameter if `p`'s type which is aliased to an argument type. It should consider the argument type instead. With the change to 1), this broke, and is fixed by 2). 3) Unstable prefixes in member are widened.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
0 files changed, 0 insertions, 0 deletions