[swift-evolution] [Pitch] Remove type inference for associated types
paulo at zewo.io
Wed Jun 29 01:20:37 CDT 2016
> On Jun 29, 2016, at 2:54 AM, Douglas Gregor <dgregor at apple.com> wrote:
> This seems very related to the near-miss checking I mentioned in my other reply to Austin.
Yeah. Well, if we get the error message. It’s better than nothing. I don’t know the specifics about compilers and rules and what not. But it seems to me it would be opening an exception just for that specific case. And that might be something that would make the compiler rules more complex. So if we don’t get the message, we get more consistency in the rules, but on the other hand we make it easier for people to accidentally get unexpected behaviour.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution