diff options
author | Martin Odersky <odersky@gmail.com> | 2015-10-06 13:47:43 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-10-06 13:52:03 +0200 |
commit | 0a48b2a6d3516f1f7d10d9a2a594a744ef98d5e8 (patch) | |
tree | d638064464337fab7d930c2427664895d00b59f7 /src/strawman | |
parent | 0838b81bea4d579f812c02fafdc50e2b1920c059 (diff) | |
download | dotty-0a48b2a6d3516f1f7d10d9a2a594a744ef98d5e8.tar.gz dotty-0a48b2a6d3516f1f7d10d9a2a594a744ef98d5e8.tar.bz2 dotty-0a48b2a6d3516f1f7d10d9a2a594a744ef98d5e8.zip |
Make prefix covariant in type maps.
According to the new subtyping rules,
T <: U ==> T#X <: U#X and T#x <: U#x
Therefore type maps should treat the prefix of a named type
covariantly.
Diffstat (limited to 'src/strawman')
0 files changed, 0 insertions, 0 deletions