diff options
author | Martin Odersky <odersky@gmail.com> | 2014-11-14 16:11:31 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-11-14 16:11:31 +0100 |
commit | 4d5a901d10a28c286f8754134f5030daae0d239b (patch) | |
tree | 41936bfc93fb242db330aeac3627038e9c1ef142 /test/dotc/tests.scala | |
parent | 9dae49b8994f72f2b4b83665c53a63b49896c5de (diff) | |
download | dotty-4d5a901d10a28c286f8754134f5030daae0d239b.tar.gz dotty-4d5a901d10a28c286f8754134f5030daae0d239b.tar.bz2 dotty-4d5a901d10a28c286f8754134f5030daae0d239b.zip |
Fix OverridingPairs
OverridingPairs had several bugs which caused pairs to be lost, which caused
missing overrides checks. Fixing OverridingPairs revealed several test failures
(and a problem in Synthetics generation which was fixed in the last commit).
Tests that became negative are all moved into neg/overrides.scala, and the
original versions in pos were fixed.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r-- | test/dotc/tests.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 966c231e4..fb2b747a6 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -72,6 +72,8 @@ class tests extends CompilerTest { @Test def neg_autoTupling = compileFile(posDir, "autoTuplingTest", "-language:noAutoTupling" :: Nil, xerrors = 4) @Test def neg_autoTupling2 = compileFile(negDir, "autoTuplingTest", xerrors = 4) @Test def neg_companions = compileFile(negDir, "companions", xerrors = 1) + @Test def neg_over = compileFile(negDir, "over", xerrors = 1) + @Test def neg_overrides = compileFile(negDir, "overrides", xerrors = 4) @Test def neg_projections = compileFile(negDir, "projections", xerrors = 1) @Test def neg_i39 = compileFile(negDir, "i39", xerrors = 1) @Test def neg_i50_volatile = compileFile(negDir, "i50-volatile", xerrors = 4) |