diff options
author | Martin Odersky <odersky@gmail.com> | 2015-06-16 13:20:19 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-06-16 16:42:54 +0200 |
commit | bb940560529ba460af4caa967caaa7f34f944b04 (patch) | |
tree | 5eb4ff7ba0bfaf171e3d26bf8dddfeb86ddc80ef /tests | |
parent | 78fae1152a7b381af4639d3d66ed637eac3ca9d0 (diff) | |
download | dotty-bb940560529ba460af4caa967caaa7f34f944b04.tar.gz dotty-bb940560529ba460af4caa967caaa7f34f944b04.tar.bz2 dotty-bb940560529ba460af4caa967caaa7f34f944b04.zip |
Avoid spurious StaleSymbol error in <refinement> members
Refinement classes and their members could give spurious stale symbol errors if the
symbol is loaded in a different run than the classfile containing it. The problem
is that refinement classes do not form part of the scope of their owners. The fix
assumes that refinement classes are always "stillValid".
Diffstat (limited to 'tests')
-rw-r--r-- | tests/run/Course-2002-10.check (renamed from tests/pending/run/Course-2002-10.check) | 0 | ||||
-rw-r--r-- | tests/run/Course-2002-10.scala (renamed from tests/pending/run/Course-2002-10.scala) | 0 |
2 files changed, 0 insertions, 0 deletions
diff --git a/tests/pending/run/Course-2002-10.check b/tests/run/Course-2002-10.check index 207b671f0..207b671f0 100644 --- a/tests/pending/run/Course-2002-10.check +++ b/tests/run/Course-2002-10.check diff --git a/tests/pending/run/Course-2002-10.scala b/tests/run/Course-2002-10.scala index 4cfa1deb0..4cfa1deb0 100644 --- a/tests/pending/run/Course-2002-10.scala +++ b/tests/run/Course-2002-10.scala |