mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-26 00:21:32 +00:00
16 lines
322 B
Java
16 lines
322 B
Java
package test;
|
|
|
|
public interface WrongNumberOfGenericParameters {
|
|
|
|
interface Zero {}
|
|
interface One<T> {}
|
|
|
|
Zero<String> z();
|
|
|
|
One o0();
|
|
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();
|
|
} |