trait Some { fun foo(some : Int?) : Int } class SomeOther : Some { override fun foo(some: Int?): Int { throw UnsupportedOperationException() } }