[AA] implement isExpect/isActual for KtClassLikeSymbol
KT-54846
This commit is contained in:
committed by
teamcity
parent
20598cf7d7
commit
ca25162574
+7
@@ -61,6 +61,13 @@ public class PrettyPrinter(public val indentSize: Int = 2) : Appendable {
|
||||
indent -= 1
|
||||
}
|
||||
|
||||
public inline fun withIndents(indentCount: Int, block: PrettyPrinter.() -> Unit) {
|
||||
require(indentCount >= 0) { "Number of indents should be non-negative" }
|
||||
indent += indentCount
|
||||
block(this)
|
||||
indent -= indentCount
|
||||
}
|
||||
|
||||
public inline fun withIndentInBraces(block: PrettyPrinter.() -> Unit) {
|
||||
withIndentWrapped(before = "{", after = "}", block)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user