KT-11612 Highlight named arguments in the editor somehow
#KT-11612 Fixed
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ fun inline() {
|
||||
run ({ x1 })
|
||||
|
||||
val x2 = 1
|
||||
run (f = { x2 })
|
||||
run (<info descr="null">f =</info> { x2 })
|
||||
|
||||
val x3 = 1
|
||||
run {
|
||||
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">foo</info>(<info textAttributesKey="KOTLIN_PARAMETER">p1</info>: <info textAttributesKey="KOTLIN_CLASS">Int</info>, <info textAttributesKey="KOTLIN_PARAMETER">p2</info>: <info textAttributesKey="KOTLIN_CLASS">String</info>): <info textAttributesKey="KOTLIN_CLASS">String</info> {
|
||||
return <info textAttributesKey="KOTLIN_PARAMETER">p2</info> + <info textAttributesKey="KOTLIN_PARAMETER">p1</info>
|
||||
}
|
||||
|
||||
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">bar</info>() {
|
||||
<info textAttributesKey="KOTLIN_PACKAGE_FUNCTION_CALL"><info textAttributesKey="KOTLIN_FUNCTION_CALL">foo</info></info>(1, <info textAttributesKey="KOTLIN_NAMED_ARGUMENT">p2 =</info> "")
|
||||
}
|
||||
Reference in New Issue
Block a user