mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
10 lines
227 B
Java
Vendored
10 lines
227 B
Java
Vendored
package test;
|
|
|
|
class Question {
|
|
// id2 is to prevent java type parameter type inference
|
|
static <T> T id2(T p) { return p; }
|
|
{
|
|
java.util.List<? extends String> s = id2(QExtendsListStringKt.id(null));
|
|
}
|
|
}
|