<div class="chatlog__message-group"> <div id="chatlog__message-container-1353966299276906527" class="chatlog__message-container" data-message-id="1353966299276906527"> <div class="chatlog__message"> <div class="chatlog__message-aside"><img class="chatlog__avatar" src="https://cdn.discordapp.com/avatars/310258733890535426/8fffd5befbc057dcd546b39b0259e66a.png?size=512" alt="Avatar" loading="lazy"></div> <div class="chatlog__message-primary"> <div class="chatlog__header"><span class="chatlog__author" title="iceman5499" data-user-id="310258733890535426">Iceman</span> <a href="/channels/430242233468452865?category=main&channel=swiftbot-sandbox&message_id=1353966756020097025"><span class="chatlog__timestamp" title="Tuesday, March 25, 2025 5:38 AM"></span></a><a href="#chatlog__message-container-1353966299276906527">3/25/2025 5:38 AM</a></div> <div class="chatlog__content chatlog__markdown"><span class="chatlog__markdown-preserve">associatedtypeにデフォルトの型が指定されていた場合、5.10ではconformanceチェックの時だけそっちが使われてしまっているように見える</span></div> </div> </div> </div> <div id="chatlog__message-container-1353966756020097025" class="chatlog__message-container" data-message-id="1353966756020097025"> <div class="chatlog__message"> <div class="chatlog__message-aside"> <div class="chatlog__short-timestamp" title="Tuesday, March 25, 2025 5:40 AM">5:40 AM</div> </div> <div class="chatlog__message-primary"> <div class="chatlog__content chatlog__markdown"><span class="chatlog__markdown-preserve"><span class="chatlog__markdown-mention" title="swift60#4418">@swift-6.0.3</span> <span class="chatlog__markdown-mention" title="swift510#6439">@swift-5.10.1</span> <code class="chatlog__markdown-pre chatlog__markdown-pre--multiline language-swift">protocol P1 { associatedtype T = Int } protocol P2 { associatedtype T: StringProtocol } struct S<T>: P1, P2 where T: StringProtocol { }</code></span></div> </div> </div> </div> </div>