Avatar
swiftbot BOT 2/1/2020 3:13 PM
Author icon
kishikawakatsumi
class Foo { private var fooPrivate = "private property" } extension Foo { func bar() -> String { return fooPrivate } } print(Foo().bar())
Version:
swift-5.1.3-RELEASE
Output:
private property
Error: