Yes, without var it works fine. For a init proc using var feels natural for me, indeed I had the wrong feeling that it may be even necessary to modify member fields. But var is only needed to modify the ref itself, which is not desired of course.
Funny typo in my code:
echo "A dog with ", Dog(a). tail, "tails"
Run
There is an unwanted space between period and tail. I am surprised that that
compiles.
