v/vlib/v/checker/tests/interpolation_recursive_str...

16 lines
131 B
V

module main
struct Test {
a int
}
fn (t Test) str() string {
_ = '$t'
return 'test'
}
fn main() {
a := Test{}
println(a)
}