[FIR] Adapt positioning of NO_VALUE_FOR_PARAMETER to match K1
This commit is contained in:
committed by
Space Team
parent
6d1d6e48c1
commit
5abab2197b
+2
-1
@@ -590,7 +590,8 @@ object LightTreePositioningStrategies {
|
||||
if (lastArgument != null) {
|
||||
markRange(lastArgument, rightParenthesis, startOffset, endOffset, tree, node)
|
||||
} else {
|
||||
markRange(nodeToStart, rightParenthesis, startOffset, endOffset, tree, node)
|
||||
val leftParenthesis = tree.findLastChildByType(argumentList, LPAR)
|
||||
markRange(leftParenthesis?: nodeToStart, rightParenthesis, startOffset, endOffset, tree, node)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -693,7 +693,8 @@ object PositioningStrategies {
|
||||
if (lastArgument != null) {
|
||||
markRange(lastArgument, rightParenthesis)
|
||||
} else {
|
||||
markRange(qualifiedAccess, rightParenthesis)
|
||||
val leftParenthesis = argumentList.leftParenthesis
|
||||
markRange(leftParenthesis ?: qualifiedAccess, rightParenthesis)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user