Add name to argument: do not remove necessary backticks

#KT-30894 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-12-01 21:17:51 +09:00
committed by Yan Zhulanow
parent a492fe7757
commit b56272dc64
10 changed files with 75 additions and 1 deletions
@@ -0,0 +1,6 @@
fun foo(`1`: Int, `fun`: Int) {
}
fun main() {
foo(1, 2<caret>)
}
@@ -0,0 +1,6 @@
fun foo(`1`: Int, `fun`: Int) {
}
fun main() {
foo(1, `fun` = 2)
}
@@ -0,0 +1,6 @@
fun foo(`1`: Int, `2`: Int) {
}
fun main() {
foo(1, 2<caret>)
}
@@ -0,0 +1,6 @@
fun foo(`1`: Int, `2`: Int) {
}
fun main() {
foo(1, `2` = 2)
}
@@ -0,0 +1,6 @@
fun foo(`1`: Int, `2a`: Int) {
}
fun main() {
foo(1, 2<caret>)
}
@@ -0,0 +1,6 @@
fun foo(`1`: Int, `2a`: Int) {
}
fun main() {
foo(1, `2a` = 2)
}
@@ -0,0 +1,6 @@
fun foo(`1`: Int, `a`: Int) {
}
fun main() {
foo(1, 2<caret>)
}
@@ -0,0 +1,6 @@
fun foo(`1`: Int, `a`: Int) {
}
fun main() {
foo(1, a = 2)
}