Fix incorrect test data for wrong KotlinSignature CLI test
Classes from the root package cannot be referenced from a non-root package
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
package library
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
|
||||
public class ClassWithWrongKotlinSignatures {
|
||||
@KotlinSignature("fun bar() : String")
|
||||
public static String foo() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@KotlinSignature("fun foo() : String")
|
||||
public static String bar() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user