Move SmartPrinter to kotlin.core.util.runtime so it's accessible from KotlinExceptionWithAttachments
This commit is contained in:
committed by
Space Team
parent
6f429ec072
commit
25911b1fec
+3
-5
@@ -1,18 +1,16 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.util
|
||||
|
||||
import java.lang.Appendable
|
||||
package org.jetbrains.kotlin.utils
|
||||
|
||||
class SmartPrinter(appendable: Appendable, indent: String = DEFAULT_INDENT) {
|
||||
companion object {
|
||||
private const val DEFAULT_INDENT = " "
|
||||
}
|
||||
|
||||
private val printer = org.jetbrains.kotlin.utils.Printer(appendable, indent)
|
||||
private val printer = Printer(appendable, indent)
|
||||
|
||||
private var notFirstPrint: Boolean = false
|
||||
|
||||
Reference in New Issue
Block a user