[FIR] Add @Supress("unused") to debug and plugin-related declarations
This commit is contained in:
committed by
Space Team
parent
43b76f3c24
commit
ee44bddaf9
+2
@@ -9,6 +9,8 @@ import org.jetbrains.kotlin.fir.tree.generator.context.AbstractFirTreeBuilder
|
||||
import org.jetbrains.kotlin.fir.tree.generator.model.Implementation
|
||||
import java.io.File
|
||||
|
||||
// It's used to generate a graph in dot format (it's useful for debugging)
|
||||
@Suppress("unused")
|
||||
fun printHierarchyGraph(builder: AbstractFirTreeBuilder) {
|
||||
fun Implementation.Kind.toColor(): String = when (this) {
|
||||
Implementation.Kind.Interface -> "green"
|
||||
|
||||
Reference in New Issue
Block a user