<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>type mismatch 指定した型と右辺が異なればエラー。 scala&gt; val a: Int = &quot;string&quot; &lt;console&gt;:7: error: type mismatch; found : String(&quot;string&quot;) required: Int val a: Int = &quot;string&quot; ^ 第2回 Scalaの基本的な文法 刺激を求める技術者に捧げるScala講座 - 第2回 Scalaの基本的な文法：ITpro illegal start of declaration (主にメソッドまわりで)宣言をミスるとエラー。 scala&gt; def add(x: Int, y:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Fscalaerror&quot; title=&quot;Scalaの諸エラー - by shigemk2&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>2015-03-08 18:35:47</published>
  <title>Scalaの諸エラー</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/scalaerror</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
