Change Signature: Update enum entries w/o delegation specifier when changing signature of enum class constructor

#KT-5978 Fixed
This commit is contained in:
Alexey Sedunov
2014-11-14 20:38:41 +03:00
parent 5bfdb8ee60
commit ddccc0e640
10 changed files with 90 additions and 22 deletions
@@ -332,6 +332,10 @@ public class JetPsiFactory(private val project: Project) {
return createArgumentWithName(null, argumentExpression)
}
public fun createDelegatorToSuperCall(text: String): JetDelegatorToSuperCall {
return createClass("class A: $text").getDelegationSpecifiers().first() as JetDelegatorToSuperCall
}
public inner class IfChainBuilder() {
private val sb = StringBuilder()
private var first = true