[swift-evolution] [swift-evolution-announce] [Review] SE-0044 Import as Member

Michael Ilseman milseman at apple.com
Wed Mar 16 16:16:04 CDT 2016


Thanks for pointing out the ambiguity! I added an amendment to the proposal in https://github.com/apple/swift-evolution/pull/214




> On Mar 16, 2016, at 4:58 AM, Michel Fortin <michel.fortin at michelf.ca> wrote:
> 
> Le 15 mars 2016 à 20:31, Michael Ilseman <milseman at apple.com> a écrit :
> 
>> Automatic inference, at least in the near term, will not be turned on by default for all C APIs, but will start out as opt-in. In the near term, heuristics and techniques are tuned for CF-style naming conventions. Future work could be broadening this, and I think having something to also reason through snake_case is definitely possible. Future work could expand the inference system to have many more (configurable) heuristics, but that’s out of scope for this proposal. But, unless the project opts-in, the inference system will not try to infer how to import as a member.
> 
> 
> That clarifies things and it makes perfect sense. Thanks. :-)
> 
> -- 
> Michel Fortin
> https://michelf.ca
> 



More information about the swift-evolution mailing list