aboutsummaryrefslogtreecommitdiff
path: root/tests/invalid/pos/t3856.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-12-20 11:52:01 +0100
committerMartin Odersky <odersky@gmail.com>2015-12-20 11:52:17 +0100
commita2f0fc167bddda7bdf1f6b3fa8e091770a80b379 (patch)
treec231c3ea4aa4c3011a84017d0cd63e57eac482ab /tests/invalid/pos/t3856.scala
parentbde77d4c43dd994e0b9bd7feb9abf74bb9678e12 (diff)
downloaddotty-a2f0fc167bddda7bdf1f6b3fa8e091770a80b379.tar.gz
dotty-a2f0fc167bddda7bdf1f6b3fa8e091770a80b379.tar.bz2
dotty-a2f0fc167bddda7bdf1f6b3fa8e091770a80b379.zip
Fix hk comparison between class and range lambda
In a situation like List <: [X] -> <: GenTraversable[X] We have to ask whether the rhs contains the instantiated lhs, not whether it is a supertype.
Diffstat (limited to 'tests/invalid/pos/t3856.scala')
0 files changed, 0 insertions, 0 deletions