diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2014-10-05 02:02:53 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2014-10-05 02:02:53 +0200 |
commit | c60218303b65f66ddc8a4afa0add8506d5272533 (patch) | |
tree | d1505eff3b8594150101f0d906cc94e7394c79c1 /test | |
parent | f57753ff673d39ab68f2182459d5cfb2125d15a1 (diff) | |
download | dotty-c60218303b65f66ddc8a4afa0add8506d5272533.tar.gz dotty-c60218303b65f66ddc8a4afa0add8506d5272533.tar.bz2 dotty-c60218303b65f66ddc8a4afa0add8506d5272533.zip |
Fix isSubType(A#X, B#X) not checking if A <: B
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index fa577573a..c4b34e0e9 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -87,6 +87,7 @@ class tests extends CompilerTest { @Test def neg_t1843 = compileFile(negDir, "t1843", xerrors = 1) @Test def neg_t1843_variances = compileFile(negDir, "t1843-variances", xerrors = 1) @Test def neg_t2994 = compileFile(negDir, "t2994", xerrors = 2) + @Test def neg_subtyping = compileFile(negDir, "subtyping", xerrors = 1) @Test def neg_variances = compileFile(negDir, "variances", xerrors = 2) @Test def dotc = compileDir(dotcDir + "tools/dotc", twice) |