Fix callable code factory (parameter with default value case)
Before we can have end of '<Type>' and '=' joined as '>=' breaking PSI So #KT-15941 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
21bd10da2e
commit
7448042b68
@@ -691,7 +691,7 @@ class KtPsiFactory @JvmOverloads constructor(private val project: Project, val m
|
||||
}
|
||||
sb.append(name).append(": ").append(type)
|
||||
if (defaultValue != null) {
|
||||
sb.append("= ").append(defaultValue)
|
||||
sb.append(" = ").append(defaultValue)
|
||||
}
|
||||
if (state == State.FIRST_PARAM) {
|
||||
state = State.REST_PARAMS
|
||||
|
||||
Reference in New Issue
Block a user