Могло бы в таких случаях делать что то вроде got Some<Type> but expected Some<Yh> because returne type that deducted from func call 123:filename where T ...
Могло бы в таких случаях делать что то вроде got Some<Type> but expected Some<Yh> because returne type that deducted from func call 123:filename where T ...