EDIT: As sunshinejr pointed out here, this has been fixed and will be released together with the next Xcode/Swift version.
I\'ve seen a lot of
As Jan pointed out, this is a Swift 5 regression. This is tracked on Swift's JIRA as well as on radar (rdar://problem/49482328). This is also already fixed (PR here) but we need to wait for the next Xcode/Swift release.
Edit: As of Xcode 10.3, we observed that the bug is fixed, but we are still monitoring if it is fixed for good.