<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gurrium</author_name>
  <author_url>https://blog.hatena.ne.jp/gurrium/</author_url>
  <blog_title>ぜのぜ</blog_title>
  <blog_url>https://giarrium.hatenablog.com/</blog_url>
  <categories>
    <anon>Swift</anon>
  </categories>
  <description>今日コードを書いていたらこんな感じに怒られた．コードを書いている僕は神の視点を持っているので，protはProtImplなのに何でやと思ったがコンパイラから見ると，protはProtに準拠している何かでしかないのでエラーを出さざるをえない． class Cls { private let prot: Prot init(prot: Prot) { self.prot = prot } func fnc() { prot.prop = 2 // Cannot assign to property: 'prot' is a 'let' constant } } protocol Prot { va…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F10%2F19%2F204714&quot; title=&quot;AnyObjectの使いどころというと盛りすぎぐらいの内容 - ぜのぜ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-19 20:47:14</published>
  <title>AnyObjectの使いどころというと盛りすぎぐらいの内容</title>
  <type>rich</type>
  <url>https://giarrium.hatenablog.com/entry/2021/10/19/204714</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
