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:
Alexander Udalov
2018-03-09 14:40:47 +01:00
parent e4062f6447
commit 4b284a4890
34 changed files with 1687 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
class SimpleClass<in A>(val p: Int = 42) {
constructor(s: Array<String?>?) : this(s?.size ?: 0)
var x: Long = p.toLong()
external get
@JvmName("SET_X") set
internal fun <U : A, V, A> A.f(vararg z: Map<V, U?>): Set<*> where V : A {
error("")
}
protected suspend inline fun <reified T> g(crossinline a: () -> A, noinline b: suspend () -> T) {}
}