title: scala for loop value is not a member of Int
body: <p>I'm getting a <code>value map is not a member of Int</code> error and I'm not sure what that means so I can't figure it out. </p>
  
  <p>I have two pages, scala.html, and scala.jade. The issue occurs when a template.scala file is created. Here is the code for both pages that is creating the issue:</p>
  
  <pre><code>scala.html
  @page.getProduct().getRichContent().size()
  @for(i &lt;- page.getProduct().getRichContent().size()) {
  &lt;p&gt;@page.getProduct().getRichContent.get(i)&lt;/p&gt;
  }
  
  scala.jade
  p @page.getProduct().getRichContent().size()
  | @for (i &lt;- page.getProduct().getRichContent().size()) {
  p @page.getProduct().getRichContent.size()
  }
  </code></pre>
  
  <p>The error thrown is: </p>
  
  <pre><code>value map is not a member of int
  for(i &lt;- page.getProduct().getRichContent().size()) yield /*74.63*/
                                                  ^
  </code></pre>