What is the reason I can't give a value to a stored property
that depends on the value of another one in Swift 2.0?
The code below gives an error saying:
Something.Type does not have a member named 'foo'
class Something {
let foo = "bar"
let baz = "\(foo) baz"
}
This is odd, as Something.Type
certainly does have a member called foo.
Is there a way around this?