Failing with compilation error when Java library has wrong @KotlinSignatureAnnotation.

This commit is contained in:
Evgeny Gerashchenko
2012-10-08 21:36:03 +04:00
parent 326720afc8
commit 5bc2422cb0
6 changed files with 48 additions and 1 deletions
@@ -0,0 +1,8 @@
import jet.runtime.typeinfo.KotlinSignature;
public class ClassWithWrongKotlinSignature {
@KotlinSignature("fun bar() : String")
public static String foo() {
throw new UnsupportedOperationException();
}
}