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 e68dda9 commit 754ca02Copy full SHA for 754ca02
tests/explicit-nulls/flexible-unpickle/Flexible_2.scala
@@ -97,3 +97,7 @@ def Flexible_2() =
97
98
val m: String = M.test(null)
99
100
+ val n1: List[Map[String, Int]] = ???
101
+ val n2 = N[List]()
102
+ val n3 = n2.accept[Any](x)
103
+
tests/explicit-nulls/flexible-unpickle/Unsafe_1.scala
@@ -73,3 +73,6 @@ object M {
73
def test(input: => String): String = "foo " + input
74
}
75
76
+class N[F[_]] {
77
+ def accept[A](arg: F[A]): Nothing = ???
78
+}
0 commit comments