In latest Xcode(8.2.1), playground struct S1 { var v = 1 { get { // report Error: Use of unresolved identifier ‘get' return self.v. // report Error: Use of unresolved identifier ‘self' } }
I can’t found the reason about the error.
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users