diff options
author | Martin Odersky <odersky@gmail.com> | 2014-05-01 11:21:43 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-05-08 21:51:47 +0200 |
commit | 620b2f4435249cc651d31dbabcb3c902da3b160c (patch) | |
tree | ea27a376fa81376cc51fed574892df5884018083 /src/dotty/tools/package.scala | |
parent | 615ad1f9eddc3dff9f8f4019ee9608a0b43db45f (diff) | |
download | dotty-620b2f4435249cc651d31dbabcb3c902da3b160c.tar.gz dotty-620b2f4435249cc651d31dbabcb3c902da3b160c.tar.bz2 dotty-620b2f4435249cc651d31dbabcb3c902da3b160c.zip |
Handling of higher-kinded types in intersections and unions.
If we intersect a higher-kinded type C with an instance C[T],
we should expect C[T].
Conversely, taking the union of a higher-kinded type C and an
instance C[T] should give C.
Previously, the higher-kinded place-holder $hkN was merged with
&/| with the type T which led to type errors.
Diffstat (limited to 'src/dotty/tools/package.scala')
0 files changed, 0 insertions, 0 deletions