Objective-C and Swift have different name resolution schemes that cause this.
- Objective-C , , . ( , , , .) - . , - :
Foo Foo, Foo - @protocol(Foo). . - Swift, , . , ,
Foo Foo, .
, - , Swift, enum s/struct s/class es , , ; Swift, . , , , struct Test protocol Test : <name-of-your-module>.Test
, struct Test protocol Test , , . ,
struct ExpressibleByStringLiteral {}
, , . ExpressibleByStringLiteral , , stdlib, Swift.ExpressibleByStringLiteral:
struct ExpressibleByStringLiteral {}
struct S1 : ExpressibleByStringLiteral {}
struct S2 : Swift.ExpressiblyByStringLiteral {}
Swift. , .