Re: [swift-evolution] Multiple protocols variable - automatic class-type inference

2016-07-05 Thread Jordan Rose via swift-evolution
The case with testVar4 and testVar5 is not exactly a bug—the default implementation of a mutating protocol requirement can reassign 'self' even if the dynamic type turns out to be a class. (I'm not sure that's a good feature, but it is the current behavior of Swift 3.) I agree that we should

Re: [swift-evolution] Multiple protocols variable - automatic class-type inference

2016-07-05 Thread Charlie Monroe via swift-evolution
These feel like bugs in the compiler. I'd suggest filing a bug report at http://bugs.swift.org if others don't think there is more to it... > On Jul 4, 2016, at 12:47 AM, Jakub Skotnicki via swift-evolution > wrote: > > Hi, > > I would