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.
1 parent b2d1190 commit 4a1c9f2Copy full SHA for 4a1c9f2
library/src/scala/IArray.scala
@@ -329,7 +329,7 @@ object IArray:
329
def +:(arr: IArray[U]): IArray[U] = genericArrayOps(arr).prepended(x)
330
331
// For backwards compatibility with code compiled without -Yexplicit-nulls
332
- private def mapNull[A, B](a: A, f: =>B): B =
+ private inline def mapNull[A, B](a: A, inline f: B): B =
333
if((a: A|Null) == null) null.asInstanceOf[B] else f
334
335
/** Conversion from IArray to immutable.ArraySeq */
0 commit comments