aboutsummaryrefslogtreecommitdiff
path: root/compiler/test
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2016-12-19 16:58:07 +0100
committerGitHub <noreply@github.com>2016-12-19 16:58:07 +0100
commit334db9777d674ed17763375d5b80cb884b9eca44 (patch)
treee5ddba2e0ac8e5b4dfc22799f1f713c11a4af2e0 /compiler/test
parent51042d1834674e9c56a8247ab76252a74d5bbc07 (diff)
parentaaf0a630c9d24b628e5ec115f963ead8c9aaa3f8 (diff)
downloaddotty-334db9777d674ed17763375d5b80cb884b9eca44.tar.gz
dotty-334db9777d674ed17763375d5b80cb884b9eca44.tar.bz2
dotty-334db9777d674ed17763375d5b80cb884b9eca44.zip
Merge pull request #1833 from dotty-staging/fix-#1793
Fix #1793: allow multiversal comparisons between Null and X
Diffstat (limited to 'compiler/test')
-rw-r--r--compiler/test/dotc/scala-collections.blacklist5
-rw-r--r--compiler/test/dotc/scala-collections.whitelist1
2 files changed, 1 insertions, 5 deletions
diff --git a/compiler/test/dotc/scala-collections.blacklist b/compiler/test/dotc/scala-collections.blacklist
index f7744401a..97f12244e 100644
--- a/compiler/test/dotc/scala-collections.blacklist
+++ b/compiler/test/dotc/scala-collections.blacklist
@@ -164,11 +164,6 @@
# | ^^^
# | not found: msg
-../scala-scala/src/library/scala/ref/WeakReference.scala
-# 33 | if (x != null) Some(x) else None
-# | ^^^^^^^^^^^
-# | Values of types wr.underlying.java$lang$ref$WeakReference$$T and Null cannot be compared with == or !=
-
../scala-scala/src/library/scala/reflect/ClassManifestDeprecatedApis.scala
# 51 | import Manifest._
# | ^^^^^^^^
diff --git a/compiler/test/dotc/scala-collections.whitelist b/compiler/test/dotc/scala-collections.whitelist
index 33c8e22f0..cdec1ab12 100644
--- a/compiler/test/dotc/scala-collections.whitelist
+++ b/compiler/test/dotc/scala-collections.whitelist
@@ -423,6 +423,7 @@
../scala-scala/src/library/scala/ref/ReferenceQueue.scala
../scala-scala/src/library/scala/ref/ReferenceWrapper.scala
../scala-scala/src/library/scala/ref/SoftReference.scala
+../scala-scala/src/library/scala/ref/WeakReference.scala
../scala-scala/src/library/scala/reflect/macros/internal/macroImpl.scala
../scala-scala/src/library/scala/reflect/NoManifest.scala