Commits

Joe Groff committed c1db47ed13e
Sema: Synthesize materializeForSet with dynamically-dispatched accessors for dynamic properties. Semantically, a dynamic property must always be dispatched in case it gets replaced at runtime, and an @NSManaged property may not have static accessors at all. Use ordinary access to the computed property accessors in materializeForSet when a property is dynamic or ObjC-originated. More rdar://problem/18706056. There's still a problem--we try to vtable-dispatch materializeForSet, which is redundant for native classes, but impossible for imported ObjC classes. We should suppress this, but trying to make materializeForSet "final" breaks subclassing if the property is overridden. This time, update test/SILGen/objc_properties.swift to avoid a false negative test failure. Swift SVN r24888