aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1181b.scala
Commit message (Collapse)AuthorAgeFilesLines
* Better test for #1181Guillaume Martres2016-07-181-0/+11
Now that we implement partial higher-order unification (SI-2712 fix) i1181.scala will compile even if `Alias[Int]` gets dealiased to `(Int, Int)` because we can unify the latter with `M[_]` where `M = [X] -> (Int, X)`. The new test will only succeed if `Alias[Int, Int]` is not dealiased because we will never unify `Foo[Int]` with `M[_,_]`.