Deprecations: data class should now have at least one primary constructor parameter, parameters should be val / var and not vararg.
This commit is contained in:
+1
-1
@@ -8,4 +8,4 @@ fun foo() {
|
||||
//extract from library
|
||||
fun <K, V> hashMap(<warning>p</warning>: Pair<K, V>): MutableMap<K, V> {<error>}</error>
|
||||
fun <K, V> K.to(<warning>v</warning>: V): Pair<K, V> {<error>}</error>
|
||||
data class Pair<K, V> {}
|
||||
class Pair<K, V> {}
|
||||
Reference in New Issue
Block a user