Support fun interfaces in kotlinx-metadata
#KT-37421 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
public abstract interface F : R|kotlin/Any| {
|
||||
public abstract fun R|kotlin/String|.f(x: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
Generated
+5
@@ -604,6 +604,11 @@ public class FirLoadCompiledKotlinGenerated extends AbstractFirLoadCompiledKotli
|
||||
runTest("compiler/testData/loadJava/compiledKotlin/class/EnumWithPrimitiveConstructorParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunInterface.kt")
|
||||
public void testFunInterface() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlin/class/FunInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InheritClassSimple.kt")
|
||||
public void testInheritClassSimple() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlin/class/InheritClassSimple.kt");
|
||||
|
||||
Reference in New Issue
Block a user