File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
tests/explicit-nulls/flexible-unpickle Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ def Flexible_2() =
100
100
101
101
val m : String = M .test(null )
102
102
103
+ // i23911
104
+ val n1 : List [Map [String , Int ]] = ???
105
+ val n2 = N [List ]()
106
+ val n3 = n2.accept[Any ](x)
107
+
103
108
// i23845
104
109
transparent inline def typeName [A ]: String = $ {typeNameMacro[A ]}
105
110
@@ -109,3 +114,4 @@ def Flexible_2() =
109
114
implicit val givenS : S [A ] = ???
110
115
expects(alphaTypeNameMacro[A ])
111
116
}
117
+
Original file line number Diff line number Diff line change @@ -73,6 +73,11 @@ object M {
73
73
def test (input : => String ): String = " foo " + input
74
74
}
75
75
76
+
77
+ class N [F [_]] {
78
+ def accept [A ](arg : F [A ]): Nothing = ???
79
+ }
80
+
76
81
class S [X ]
77
82
object S { def show [X ] = " dummyStr" }
78
83
class T
You can’t perform that action at this time.
0 commit comments