aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-08-23 23:37:00 +0200
committerMartin Odersky <odersky@gmail.com>2015-08-23 23:37:00 +0200
commite850a99f16004a702b5fa63736ac215fc388051b (patch)
treea24d2bfcb93c385d118f50b7cb71dd902108820e /test/dotc/tests.scala
parent289e273697f9304d716ed9fc834b3b2016df6f7d (diff)
downloaddotty-e850a99f16004a702b5fa63736ac215fc388051b.tar.gz
dotty-e850a99f16004a702b5fa63736ac215fc388051b.tar.bz2
dotty-e850a99f16004a702b5fa63736ac215fc388051b.zip
Test other forms of singleton types.
Tested are now other numeric values, strings, booleans, which are all legal singleton types.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index a3fb8185b..8f8b1d04a 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -146,7 +146,7 @@ class tests extends CompilerTest {
@Test def neg_instantiateAbstract = compileFile(negDir, "instantiateAbstract", xerrors = 8)
@Test def neg_selfInheritance = compileFile(negDir, "selfInheritance", xerrors = 6)
@Test def neg_selfreq = compileFile(negDir, "selfreq", xerrors = 4)
- @Test def neg_singletons = compileFile(negDir, "singletons", xerrors = 2)
+ @Test def neg_singletons = compileFile(negDir, "singletons", xerrors = 4)
@Test def neg_shadowedImplicits = compileFile(negDir, "arrayclone-new", xerrors = 2)
@Test def neg_traitParamsTyper = compileFile(negDir, "traitParamsTyper", xerrors = 5)
@Test def neg_traitParamsMixin = compileFile(negDir, "traitParamsMixin", xerrors = 2)