class B[G] inherit A[ANY] convert to_b: {A[STRING]} feature to_b: A[STRING] do end end