ith the following:</p>
<pre><code>Semantic error in &#39;foo.stan&#39;, line 5, column 2 to column 12:
   -------------------------------------------------
     3:  }
     4:  transformed data {
     5:    int y = x;
           ^
     6:  }
   -------------------------------------------------

Ill-typed arguments supplied to assignment operator =: lhs has type int and rhs has type real</code></pre>
<p>The <a href="https://mc-stan.org/docs/reference-manual/index.html#language">Stan Reference Manual</a>
provi