struct A { | |
private var foo: Int = 10 | |
} | |
extension A { | |
func bar() -> Int { | |
return self.foo // this will work after #169 | |
} | |
} | |
class C { | |
private var foo: Int = 10 | |
} | |
class D: C { | |
func bar() -> Int { | |
return self.foo. // this will be a compiler error after #169 still | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment