diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-07-18 09:13:32 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-07-18 09:38:29 +0100 |
commit | 8375e3a1ea9b0c13efb3188c844fe2a0c180c11e (patch) | |
tree | dd7776586722ef94aa697c63400163a861cb2d2b /interfaces/src | |
parent | 9da40cb84d613bcea3a0e0890b2e53129fe60bc6 (diff) | |
download | dotty-8375e3a1ea9b0c13efb3188c844fe2a0c180c11e.tar.gz dotty-8375e3a1ea9b0c13efb3188c844fe2a0c180c11e.tar.bz2 dotty-8375e3a1ea9b0c13efb3188c844fe2a0c180c11e.zip |
Better test for #1181
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[_,_]`.
Diffstat (limited to 'interfaces/src')
0 files changed, 0 insertions, 0 deletions