aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-05-01 11:21:43 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-05-08 21:51:47 +0200
commit620b2f4435249cc651d31dbabcb3c902da3b160c (patch)
treeea27a376fa81376cc51fed574892df5884018083 /src/dotty/tools/dotc/typer/Typer.scala
parent615ad1f9eddc3dff9f8f4019ee9608a0b43db45f (diff)
downloaddotty-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/dotc/typer/Typer.scala')
0 files changed, 0 insertions, 0 deletions