FIR: introduce DSL to generate diagnostics list
this is needed to generate diagnostic list for IDE
This commit is contained in:
+3
@@ -38,6 +38,9 @@ class SmartPrinter(appendable: Appendable) {
|
||||
fun popIndent() {
|
||||
printer.popIndent()
|
||||
}
|
||||
|
||||
fun getCurrentIndentInUnits() = printer.currentIndentLengthInUnits
|
||||
fun getIndentUnit() = printer.indentUnitLength
|
||||
}
|
||||
|
||||
inline fun SmartPrinter.withIndent(block: () -> Unit) {
|
||||
|
||||
Reference in New Issue
Block a user