8 lines
127 B
Plaintext
Vendored
8 lines
127 B
Plaintext
Vendored
class GClass<T> {
|
|
fun foo(t: T): T {
|
|
return t
|
|
}
|
|
}
|
|
|
|
val g = GClass<Int>()
|
|
g.foo(1) // RESULT: 1 |