Support .kotlin_module files in kotlinx-metadata

#KT-23198
This commit is contained in:
Alexander Udalov
2018-03-14 17:02:34 +01:00
parent a751d02306
commit bef759161f
10 changed files with 245 additions and 5 deletions
+7
View File
@@ -19,3 +19,10 @@ lambda {
// signature: invoke(Lkotlin/Unit;[ILjava/util/Set;)Ljava/lang/String;
local final fun kotlin/Unit.<no name provided>(s: kotlin/IntArray?, t: kotlin/collections/Set<kotlin/Double>): kotlin/String
}
// META-INF/test-module.kotlin_module
// ------------------------------------------
module {
package <root> {
LambdaKt
}
}
+7
View File
@@ -12,3 +12,10 @@ package {
public final const val x: kotlin/Int /* = ... */
public final get
}
// META-INF/test-module.kotlin_module
// ------------------------------------------
module {
package test {
test/File__MultiFileClassKt (test/File)
}
}
+7
View File
@@ -16,3 +16,10 @@ package {
public typealias G<T#0 /* S */> = F^<kotlin/collections/List<T#0>, kotlin/collections/Set<T#0>> /* = kotlin/collections/Map<kotlin/collections/List<T#0>, kotlin/Function1<java/lang/StringBuilder /* = kotlin/text/StringBuilder^ */, kotlin/collections/Set<T#0>?>> */
}
// META-INF/test-module.kotlin_module
// ------------------------------------------
module {
package <root> {
SimplePackageKt
}
}
+7
View File
@@ -8,3 +8,10 @@ package {
// SyntheticClassKt$WhenMappings.class
// ------------------------------------------
synthetic class
// META-INF/test-module.kotlin_module
// ------------------------------------------
module {
package <root> {
SyntheticClassKt
}
}
@@ -32,3 +32,10 @@ package {
// requires API version 1.1.0 (level=HIDDEN, errorCode=314)
public typealias Typealias = kotlin/String /* = kotlin/String */
}
// META-INF/test-module.kotlin_module
// ------------------------------------------
module {
package test {
test/VersionRequirementKt
}
}