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