mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
10 lines
192 B
Java
Vendored
10 lines
192 B
Java
Vendored
package test;
|
|
|
|
class Question {
|
|
// id2 is to prevent java type parameter type inference
|
|
static <T> T id2(T p) { return p; }
|
|
{
|
|
String s = id2(TestPackage.id(null));
|
|
}
|
|
}
|