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 47e3f9f commit 4367b20Copy full SHA for 4367b20
library/src/scala/runtime/stdLibPatches/Predef.scala
@@ -61,5 +61,5 @@ object Predef:
61
inline def ne(inline y: AnyRef | Null): Boolean =
62
!(x eq y)
63
64
- extension (opt: Option.type) def fromNullable[T](t: T|Null): Option[T] = Option(t).asInstanceOf
+ extension (inline opt: Option.type) inline def fromNullable[T](t: T|Null): Option[T] = Option(t).asInstanceOf
65
end Predef
0 commit comments