We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 392438b + 25e0d15 commit b859a58Copy full SHA for b859a58
src/reflect/scala/reflect/runtime/TwoWayCache.scala
@@ -34,7 +34,7 @@ private[runtime] class TwoWayCache[J, S] {
34
toScalaMap get key match {
35
case SomeRef(v) =>
36
v
37
- case None =>
+ case _ =>
38
val result = body
39
enter(key, result)
40
result
@@ -45,7 +45,7 @@ private[runtime] class TwoWayCache[J, S] {
45
toJavaMap get key match {
46
47
48
49
50
enter(result, key)
51
@@ -56,7 +56,7 @@ private[runtime] class TwoWayCache[J, S] {
56
57
58
Some(v)
59
60
61
for (value <- result) enter(value, key)
62
0 commit comments