Implement raw types (de)serialization via special TypeCapabilities
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
package test;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class A<T> {
|
||||
A<List<T>> bar(List<Map<String, Integer>> x) { return null; }
|
||||
|
||||
static A rawField = null;
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
val strList: List<String> = null!!
|
||||
|
||||
fun foo1() = A.rawField
|
||||
|
||||
val foo2 = A.rawField.bar(strList).bar(strList)
|
||||
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
fun foo3() = foo1().bar(strList)
|
||||
val foo4 = foo2.bar(strList)
|
||||
@@ -0,0 +1,2 @@
|
||||
OK
|
||||
OK
|
||||
Reference in New Issue
Block a user