<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ymraintree</author_name>
  <author_url>https://blog.hatena.ne.jp/ymraintree/</author_url>
  <blog_title>コードの波にゆーらゆら</blog_title>
  <blog_url>https://ymraintree.hatenadiary.org/</blog_url>
  <categories>
    <anon>scala</anon>
  </categories>
  <description>たとえば、object Foo { val ZOO = &quot;xxxx&quot; }というクラスを作ってコンパイルします。これをスクリプトの中で使います。println(Foo.ZOO)これはOK。次に、object Foo { val ZOO = &quot;xxxx&quot; val ZOO_ADDED = &quot;ZZZZZ&quot; }と、ZOO_ADDEDを増やします。そして、これをスクリプト中で使います。すると、script.scala:2: error: value ZOO_ADDED is not a member of object Foo println(Foo.ZOO_ADDED) ^ one error foun…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymraintree.hatenadiary.org%2Fentry%2F20110630%2F1309434106&quot; title=&quot;scalaスクリプトでおかしな挙動？ - コードの波にゆーらゆら&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>2011-06-30 20:41:46</published>
  <title>scalaスクリプトでおかしな挙動？</title>
  <type>rich</type>
  <url>https://ymraintree.hatenadiary.org/entry/20110630/1309434106</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
