Supported star projection in alternative signatures.

This commit is contained in:
Evgeny Gerashchenko
2012-11-29 19:15:03 +04:00
parent 91825a404c
commit 46a485da01
6 changed files with 56 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
package test;
import jet.runtime.typeinfo.KotlinSignature;
public final class StarProjection {
@KotlinSignature("fun foo(): MyClass<*>")
public final MyClass<?> foo() {
throw new UnsupportedOperationException();
}
public interface MyClass<T extends CharSequence> {
}
}