Files
swift-mirror/lib/Sema/CodeSynthesis.cpp
Slava Pestov a64431418b SILGen: Emit materializeForSet in more cases
Recently I changed Sema to always emit materializeForSet for properties
of structs, to fix issues with duplicate or missing symbols when the
type declaration and conformance are in different translation units.

The same issue can happen with properties of final classes and enums,
so let's simplify the logic by always emitting a materializeForSet
when possible.

The new multifile demonstrate the problem.
2016-03-14 13:01:03 -07:00

88 KiB