Test data: adjust test data after prohibiting properties with typeparameters not used in receiver

This commit is contained in:
Pavel V. Talanov
2015-10-13 20:28:41 +03:00
parent 3468e83671
commit 47cca7db1f
39 changed files with 109 additions and 132 deletions
@@ -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()