// WITH_SIGNATURES class A(val result: T) { fun f(): T { fun g(): T = result return g() } }