Added check for value parameters number in alternative signatures loading.

This commit is contained in:
Evgeny Gerashchenko
2012-06-20 21:36:24 +04:00
parent d3041d410e
commit 1649b208cb
4 changed files with 32 additions and 0 deletions
@@ -0,0 +1,10 @@
package test;
import jet.runtime.typeinfo.KotlinSignature;
public class WrongValueParametersCount {
@KotlinSignature("fun foo(a : Int) : Int")
public Integer foo() {
throw new UnsupportedOperationException();
}
}