Thanks for the bug report. I tried your test case. It fails with the same error you observed in Swift 5.5. However I cannot reproduce the issue on Swift 5.6 so I suspect it was fixed.
Thanks for the bug report. I tried your test case. It fails with the same error you observed in Swift 5.5. However I cannot reproduce the issue on Swift 5.6 so I suspect it was fixed.