diff options
author | Martin Odersky <odersky@gmail.com> | 2015-12-10 11:15:21 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-12-14 14:30:09 +0100 |
commit | f829cf8ba742b149a10250710c46b5a1c49aa7cc (patch) | |
tree | 65b55ddd4abeaf6e6e95b9b730d31be48ea23f25 /test/dotc/tests.scala | |
parent | 2a3f78673afe581fffec7f88039ba27a71ed2fe2 (diff) | |
download | dotty-f829cf8ba742b149a10250710c46b5a1c49aa7cc.tar.gz dotty-f829cf8ba742b149a10250710c46b5a1c49aa7cc.tar.bz2 dotty-f829cf8ba742b149a10250710c46b5a1c49aa7cc.zip |
Make some types of definitions symbolic
This is needed to ensure that the type of a definition node
(ValDef, TypeDef, or DefDef) always refers to the symbol of
that definition.
Caused a spurious error in selfReq to go away (so error count was
updated).
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 9662d09d6..dc7f3179d 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -162,7 +162,7 @@ class tests extends CompilerTest { @Test def neg_instantiateAbstract = compileFile(negDir, "instantiateAbstract", xerrors = 8) @Test def neg_partialApplications = compileFile(negDir, "partialApplications", xerrors = 3) @Test def neg_selfInheritance = compileFile(negDir, "selfInheritance", xerrors = 6) - @Test def neg_selfreq = compileFile(negDir, "selfreq", xerrors = 3) + @Test def neg_selfreq = compileFile(negDir, "selfreq", xerrors = 2) @Test def neg_singletons = compileFile(negDir, "singletons", xerrors = 8) @Test def neg_shadowedImplicits = compileFile(negDir, "arrayclone-new", xerrors = 2) @Test def neg_traitParamsTyper = compileFile(negDir, "traitParamsTyper", xerrors = 5) |