Skip to content

Commit 44cd89b

Browse files
Merge pull request #82 from LemonAppDev/improve-printDeclaration-method
Improve printDeclarations Method
2 parents 88906c2 + 5b754cb commit 44cd89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/kotlin/com/lemonappdev/konsist/core/verify/PrintDeclarations.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ package com.lemonappdev.konsist.core.verify
33
import com.lemonappdev.konsist.core.declaration.KoComplexDeclaration
44

55
fun <T : KoComplexDeclaration> Sequence<T>.printDeclarations(): Sequence<T> {
6-
forEach { println("${it.name} ~${it.location}") }
6+
forEach { println("[${it::class.simpleName}] ${it.name} ~${it.location}") }
77
return this
88
}

0 commit comments

Comments
 (0)