You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't reproduce this with a master compiler but I can reproduce it with swiftlang-1103.0.1 clang-1103.0.17.90. silverhammermba (JIRA User) can you try a recent toolchain snapshot and let me know if it still shows up?
Attachment: Download
Environment
Reproduced with Xcode 10.3 and 11.2 on Mac OS 10.14.6.
Additional Detail from JIRA
md5: f6b5244f91535b97be3e0f56a22a9ffb
Issue Description:
There seem to be four parts to this bug
Protocol A has an associated type
Protocol B has its own associated type and conforms to protocol A. I wrote an extension of B to implement the conformance
Struct S conforms to protocol B
Function F uses A's methods on S
If S and F are in the same file it builds and runs successfully. If I put S and F in different files I get compiler errors:
If I remove any of the above four parts, it builds successfully regardless of where I put S and F.
See attached Swift file.
The text was updated successfully, but these errors were encountered: