I've been trying to implement property wrappers in one of my existing projects today. I have generic class Serialized which ensures, that all getters and setters of the property are executed on specific thread.
By the time I modified almost all instances of the class to conform to the new interface, the swift compiler stopped working.
Specifically when I initiate build it launches a process called "swift" that takes 95% - 100% of cpu time (of one core). When I abort build, compiler may or may not report non-zero status, but the "swift" process never stops. Whenever I initiate a new build, new "swift" process begins. I had 6 instances of the "swift" at one point. Those processes don't stop until I reboot my mac.
Is there a way to get some meaningful reason why the compiler misbehaves?