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 12b7379 commit 7de783cCopy full SHA for 7de783c
compiler/src/dotty/tools/package.scala
@@ -18,7 +18,7 @@ package object tools {
18
* Flow-typing under explicit nulls will automatically insert many necessary
19
* occurrences of uncheckedNN.
20
*/
21
- inline def uncheckedNN: T = x.asInstanceOf[T]
+ transparent inline def uncheckedNN: T = x.asInstanceOf[T]
22
23
inline def toOption: Option[T] =
24
if x == null then None else Some(x.asInstanceOf[T])
0 commit comments