Files
kotlin/compiler/testData/loadJava/sourceJava/WrongNumberOfGenericParameters.java
Denis Zharkov c5103f9ac4 Fix JavaClassifierType.getTypeArguments impls
Make them return arguments both for current classifier and for the outer one
2015-11-13 14:47:28 +03:00

17 lines
397 B
Java
Vendored

package test;
public interface WrongNumberOfGenericParameters {
interface Zero {}
interface One<T> {}
Zero<String> z();
One o0();
// Our Java resolve supposes that return type has exactly one argument
One<String, String> o2();
// This does not produce the expected result, because IDEA thinks Two<X> is a raw type
interface Two<P, Q> {}
Two<String> t1();
}