Test data: adjust test data after prohibiting properties with typeparameters not used in receiver
This commit is contained in:
@@ -2,6 +2,6 @@ package test;
|
||||
|
||||
class GenericProperty {
|
||||
void foo() {
|
||||
java.util.Map<?, ?> o = TestPackage.getTest();
|
||||
java.util.Map<String, Integer> o = TestPackage.getTest(new java.util.HashMap<Integer, String>());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
// Tests that type variables of properties are written to the getter signature
|
||||
|
||||
val <K, V> test: Map<K, V>
|
||||
get() = java.util.HashMap()
|
||||
val <K, V> Map<K, V>.test: Map<V, K>
|
||||
get() = this as Map<V, K>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public val </*0*/ K, /*1*/ V> test: kotlin.Map<K, V>
|
||||
public val </*0*/ K, /*1*/ V> kotlin.Map<K, V>.test: kotlin.Map<V, K>
|
||||
|
||||
public/*package*/ open class GenericProperty {
|
||||
public/*package*/ constructor GenericProperty()
|
||||
|
||||
Reference in New Issue
Block a user