package test public trait TaskObject { fun foo(r: Runnable) } fun foo(r: Runnable) { }