Dynamic lazy fields
Opened this issue · 0 comments
vihanb commented
Currently dynamic lazy fields are attempted to be constructed in the primary constructor:
class A {
// Should work
lazy let a = A()
}
func main() {
let x = A().a // Should work
}