<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ngsw_taro</author_name>
  <author_url>https://blog.hatena.ne.jp/ngsw_taro/</author_url>
  <blog_title>算譜王におれはなる!!!!</blog_title>
  <blog_url>https://taro.hatenablog.jp/</blog_url>
  <categories>
    <anon>Kotlin</anon>
  </categories>
  <description>昨日のエントリで話したPlatform Type以外のM9で改善された言語機能について紹介するよ。 Non-local returns コードの通りです。 関数リテラル内でのreturnが出来るよって話。 このコードを実行すると「1」だけ表示される。 fun main(args: Array&lt;String&gt;) { invoke { println(&quot;1&quot;) return // M9より前ではコンパイルエラー } println(&quot;2&quot;) } inline fun invoke(f: () -&gt; Unit) { f() } No more local object declarations M9…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaro.hatenablog.jp%2Fentry%2F2014%2F10%2F17%2F213252&quot; title=&quot;Kotlin M9まとめ - 算譜王におれはなる!!!!&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>2014-10-17 21:32:52</published>
  <title>Kotlin M9まとめ</title>
  <type>rich</type>
  <url>https://taro.hatenablog.jp/entry/2014/10/17/213252</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
