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() =
100100
101101 val m : String = M .test(null )
102102
103+ // i23911
104+ val n1 : List [Map [String , Int ]] = ???
105+ val n2 = N [List ]()
106+ val n3 = n2.accept[Any ](x)
107+
103108 // i23845
104109 transparent inline def typeName [A ]: String = $ {typeNameMacro[A ]}
105110
@@ -109,3 +114,4 @@ def Flexible_2() =
109114 implicit val givenS : S [A ] = ???
110115 expects(alphaTypeNameMacro[A ])
111116 }
117+
Original file line number Diff line number Diff line change @@ -73,6 +73,11 @@ object M {
7373 def test (input : => String ): String = " foo " + input
7474}
7575
76+
77+ class N [F [_]] {
78+ def accept [A ](arg : F [A ]): Nothing = ???
79+ }
80+
7681class S [X ]
7782object S { def show [X ] = " dummyStr" }
7883class T
You can’t perform that action at this time.
0 commit comments