Quick Fixes: Implement 'Initialize with constructor parameter' quick-fix

#KT-6604 Fixed
This commit is contained in:
Alexey Sedunov
2015-11-12 17:19:05 +03:00
parent 138370ce5b
commit ac8532ffce
26 changed files with 428 additions and 11 deletions
@@ -411,7 +411,6 @@ public fun KtStringTemplateExpression.isPlain() = entries.all { it is KtLiteralS
public val KtDeclaration.containingClassOrObject: KtClassOrObject?
get() = (parent as? KtClassBody)?.parent as? KtClassOrObject
public fun KtExpression.getOutermostParenthesizerOrThis(): KtExpression {
return (parentsWithSelf zip parents).firstOrNull {
val (element, parent) = it