<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div><a href="https://github.com/apple/swift-evolution/blob/master/proposals/0090-remove-dot-self.md">https://github.com/apple/swift-evolution/blob/master/proposals/0090-remove-dot-self.md</a></div><div><br>On Jul 24, 2016, at 2:21 AM, Boris Wang <<a href="mailto:kona.ming@gmail.com">kona.ming@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>just write code in playground:<br> struct MyStruct {<br> var t = 0<br> }<br> sizeof(MyStruct)<br><br>Compiler error:<br> Missing '.self' for reference to metatype of type 'MyStruct'<br><br>The metatype is from swift it self!<br><br>What the hell was the .self?<br><br><br><div class="gmail_quote"><div dir="ltr">Jose Cheyo Jimenez via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>>于2016年7月24日 周日04:45写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>I'm finding it really hard to see the advantage of this proposal with out reconciling the possibility of .self going away. I think this should be postponed after .self is reviewed in swift 4. Premature optimization imo. </div></div><div dir="auto"><div><br>On Jul 22, 2016, at 3:20 PM, David Hart via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br><br></div><blockquote type="cite"><div><div>Where do these double generics come from? Never saw them...</div><div><br>On 22 Jul 2016, at 17:54, Anton Zhilin <<a href="mailto:antonyzhilin@gmail.com" target="_blank">antonyzhilin@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-07-22 18:51 GMT+03:00 David Hart <span dir="ltr"><<a href="mailto:david@hartbit.com" target="_blank">david@hartbit.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><div style="direction:inherit">Isn't the solution to a lot of these issues allowing explicit generalization instead of this meta type business?</div></div></div></blockquote><div><br></div><div>And what would you suggest for "double generics" in initializers?</div><div>ExampleType<Int><Double>() // not good</div></div></div></div>
</div></blockquote></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></div>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div>
</div></blockquote></body></html>