Add kotlinp, a tool to print Kotlin metadata in class/module files
At the moment, it's not published anywhere, but that may change soon #KT-23198
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun f(a: AnnotationTarget): String? {
|
||||
return when (a) {
|
||||
AnnotationTarget.FUNCTION -> "1"
|
||||
AnnotationTarget.PROPERTY -> "2"
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user