Add intention to specify all types explicitly in destructuring assignment
#KT-16260 Fixed
This commit is contained in:
committed by
Dmitry Jemerov
parent
3529d61a7d
commit
6b2c22aff1
+3
@@ -0,0 +1,3 @@
|
||||
fun main(args: Array<String>) {
|
||||
val (i<spot>: Int</spot>, s<spot>: String</spot>) = Pair(1, "s")
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun main(args: Array<String>) {
|
||||
val <spot>(i, s)</spot> = Pair(1, "s")
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Specifies all types explicitly in a destructuring declaration.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user