diff options
author | Martin Odersky <odersky@gmail.com> | 2014-11-18 15:18:19 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-11-18 15:18:19 +0100 |
commit | ea06d6618f63339fec0af8ca6835a3f34a100d0f (patch) | |
tree | 049d0deba496172146edd358da5aa5c5fa4e2458 /test/dotc/tests.scala | |
parent | b60f085e543e71577e0132b938facd0b6d544e81 (diff) | |
download | dotty-ea06d6618f63339fec0af8ca6835a3f34a100d0f.tar.gz dotty-ea06d6618f63339fec0af8ca6835a3f34a100d0f.tar.bz2 dotty-ea06d6618f63339fec0af8ca6835a3f34a100d0f.zip |
Check that overriding members refine the types of overridden ones.
Somehow this was lost in porting (or was this done somewhere else
in scalac?).
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r-- | test/dotc/tests.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index fb2b747a6..8a8c162c6 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -73,7 +73,7 @@ class tests extends CompilerTest { @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_overrides = compileFile(negDir, "overrides", xerrors = 5) @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) |