1 open class Foo<T> 2 3 class Bar<T> : Foo<T>() 4 firstnull5 fun <T> Foo<T>.first() { 6 7 } 8 secondnull9 fun <T> Bar<T>.second() { 10 11 } 12