aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotc
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-12-19 14:49:46 +0100
committerFelix Mulder <felix.mulder@gmail.com>2016-12-19 14:49:46 +0100
commit51cfebe23ea081b297642a24b1208c174e4e0ca2 (patch)
tree41b393eaa5b685e6a2c579df98e8fd55db8d3222 /compiler/test/dotc
parent8868f97dd56851998eb25096bae34818fa3f0681 (diff)
downloaddotty-51cfebe23ea081b297642a24b1208c174e4e0ca2.tar.gz
dotty-51cfebe23ea081b297642a24b1208c174e4e0ca2.tar.bz2
dotty-51cfebe23ea081b297642a24b1208c174e4e0ca2.zip
whitelist WeakReference
Diffstat (limited to 'compiler/test/dotc')
-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 407cb0a4b..c50ea7fa6 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 c5d6cd2a1..b3b3d75d1 100644
--- a/compiler/test/dotc/scala-collections.whitelist
+++ b/compiler/test/dotc/scala-collections.whitelist
@@ -422,6 +422,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