From 51cfebe23ea081b297642a24b1208c174e4e0ca2 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Mon, 19 Dec 2016 14:49:46 +0100 Subject: whitelist WeakReference --- compiler/test/dotc/scala-collections.blacklist | 5 ----- compiler/test/dotc/scala-collections.whitelist | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'compiler/test/dotc') 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 -- cgit v1.2.3