[swift-evolution] Name disambiguation of computed property/function with same type defined in extensions
Brad Hilton
brad.hilton.nw at gmail.com
Sat Jun 4 20:40:02 CDT 2016
+1. I agree that this could be a problem, especially if you’re importing a lot of similar modules. I like the `from` keyword, as I feel that is consistent with the language grammer. My vote would be for proposal #4.
> Hello, everyone.
>
> I want to discuss the problem of name ambiguity when a computed property or function is defined with the same name and type in different modules. Currently there’s no way to disambiguate the implementation in use cases similar to the one contained in the gist below.
>
> https://gist.github.com/paulofaria/f48d0b847a0fb7c125d163d0e349500a
>
> The gist also contains some informal proposals. The idea is to create a formal proposal based on the discussion that shall follow.
>
> Cheers,
> Paulo _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
>
>
More information about the swift-evolution
mailing list