Introduce intention to name anonymous parameter #KT-17191 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
bc071bf543
commit
9dd217eee3
+1
@@ -0,0 +1 @@
|
||||
val (first, <spot>second</spot>) = Pair(1, 2)
|
||||
+1
@@ -0,0 +1 @@
|
||||
val (first, <spot>_</spot>) = Pair(1, 2)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Gives name to an anonymous parameter
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user