public struct Foo { @usableFromInline internal private(set) var bar: Int { get { return 42 } set { print(newValue) } } @inlinable public mutating func f() -> Int { bar += 1 return bar } }