Sorry, I should have noted one important thing. I have not explored the open source part of Swift nor could not have used any debugging features. So, the part describing the current behavior is nothing more than just my guess. It may be caused by some bugs of the current implementation, you can send a bug report to swift.org .
Topic:
Programming Languages
SubTopic:
Swift
Tags: