type Str(bytes: Vec); type StringWrapper(v: string); type StringWrapperWrapper(value: StringWrapper); type ComplexType(int: hash, value: StringWrapper); func on_type(t: ComplexType) -> StringWrapper { return t.value.value; }