swift
06ac2384 - IRGen: Correctly set and honor the "is reflectable" bit on structs and classes.

Commit
7 years ago
IRGen: Correctly set and honor the "is reflectable" bit on structs and classes. If we only emit an opaque reflection record for a struct or class, then we can't reflect its fields. We failed both to clear the "is reflectable" bit in the context descriptor for non-reflectable structs, and to check for the bit before trying to present a struct's fields as children in the runtime. rdar://problem/41274260
Author
Committer
Parents
Loading