<div class="chatlog__message-group"> <div id="chatlog__message-container-452519634277761024" class="chatlog__message-container" data-message-id="452519634277761024"> <div class="chatlog__message"> <div class="chatlog__message-aside"><img class="chatlog__avatar" src="https://cdn.discordapp.com/avatars/293624673265123328/accd07acc220a18568ba46a6e9ede18a.png?size=512" alt="Avatar" loading="lazy"></div> <div class="chatlog__message-primary"> <div class="chatlog__header"><span class="chatlog__author" style="color:rgb(17,128,106)" title="koher" data-user-id="293624673265123328">koher</span> <a href="/channels/306995750418513920?category=main&channel=swift-2&message_id=452520044736544768"><span class="chatlog__timestamp" title="Saturday, June 2, 2018 5:11 PM"></span></a><a href="#chatlog__message-container-452519634277761024">6/2/2018 5:11 PM</a></div> <div class="chatlog__content chatlog__markdown"><span class="chatlog__markdown-preserve"><code class="chatlog__markdown-pre chatlog__markdown-pre--inline">KeyPath</code> に <code class="chatlog__markdown-pre chatlog__markdown-pre--inline">WritableKeyPath</code> を append して <code class="chatlog__markdown-pre chatlog__markdown-pre--inline">WritableKeyPath</code> 生成するメソッドが(ドキュメント上?)できてしまってるの↓のせいか。 <code class="chatlog__markdown-pre chatlog__markdown-pre--inline">where</code> 以下がコメントアウト。 <code class="chatlog__markdown-pre chatlog__markdown-pre--multiline language-swift">extension _AppendKeyPath /* where Self == WritableKeyPath<T,U> */ {</code> <a href="https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift#L1812">https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift#L1812</a></span></div> <div class="chatlog__embed"> <div class="chatlog__embed-color-pill" style="background-color:rgba(30,35,39,255)"></div> <div class="chatlog__embed-content-container"> <div class="chatlog__embed-content"> <div class="chatlog__embed-text"> <div class="chatlog__embed-title"><a class="chatlog__embed-title-link" href="https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift"> <div class="chatlog__markdown chatlog__markdown-preserve">apple/swift</div> </a></div> <div class="chatlog__embed-description"> <div class="chatlog__markdown chatlog__markdown-preserve">swift - The Swift Programming Language</div> </div> </div> <div class="chatlog__embed-thumbnail-container"><a class="chatlog__embed-thumbnail-link" href="https://images-ext-1.discordapp.net/external/fj7m7VLuaV_seT8bPYkMDFODFrNdHunv8fIJancJpw4/%3Fs%3D400%26v%3D4/https/avatars2.githubusercontent.com/u/10639145"> <img class="chatlog__embed-thumbnail" src="https://images-ext-1.discordapp.net/external/fj7m7VLuaV_seT8bPYkMDFODFrNdHunv8fIJancJpw4/%3Fs%3D400%26v%3D4/https/avatars2.githubusercontent.com/u/10639145" alt="Thumbnail" loading="lazy"> </a></div> </div> </div> </div> </div> </div> </div> <div id="chatlog__message-container-452520044736544768" class="chatlog__message-container" data-message-id="452520044736544768"> <div class="chatlog__message"> <div class="chatlog__message-aside"> <div class="chatlog__short-timestamp" title="Saturday, June 2, 2018 5:13 PM">5:13 PM</div> </div> <div class="chatlog__message-primary"> <div class="chatlog__content chatlog__markdown"><span class="chatlog__markdown-preserve">あれ?↓についてた。 <a href="https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift#L1827">https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift#L1827</a></span></div> <div class="chatlog__embed"> <div class="chatlog__embed-color-pill" style="background-color:rgba(30,35,39,255)"></div> <div class="chatlog__embed-content-container"> <div class="chatlog__embed-content"> <div class="chatlog__embed-text"> <div class="chatlog__embed-title"><a class="chatlog__embed-title-link" href="https://github.com/apple/swift/blob/master/stdlib/public/core/KeyPath.swift"> <div class="chatlog__markdown chatlog__markdown-preserve">apple/swift</div> </a></div> <div class="chatlog__embed-description"> <div class="chatlog__markdown chatlog__markdown-preserve">swift - The Swift Programming Language</div> </div> </div> <div class="chatlog__embed-thumbnail-container"><a class="chatlog__embed-thumbnail-link" href="https://images-ext-1.discordapp.net/external/fj7m7VLuaV_seT8bPYkMDFODFrNdHunv8fIJancJpw4/%3Fs%3D400%26v%3D4/https/avatars2.githubusercontent.com/u/10639145"> <img class="chatlog__embed-thumbnail" src="https://images-ext-1.discordapp.net/external/fj7m7VLuaV_seT8bPYkMDFODFrNdHunv8fIJancJpw4/%3Fs%3D400%26v%3D4/https/avatars2.githubusercontent.com/u/10639145" alt="Thumbnail" loading="lazy"> </a></div> </div> </div> </div> </div> </div> </div> </div>