class TPHsAndGenerics2 { id = x -> x; id2 (x) { return id.apply(x); } m(a, b){ var c = m2(a,b); return a; } m2(a, b){ return b; } }