How to Access Instance Variables in Structs

There are a couple of discussions about this feature. It actually isn’t 100% sound. There are some (edge) cases such as assignment operators where this implicit inlining does not work.

I also seem to recall a more recent discussion though I wasn’t able to dig that up.

EDIT: Maybe it was Mutable structs - what am I doing wrong?

2 Likes