Identifier &#39;thata&#39; not in scope.

make: *** [bernoulli.hpp] Error 1</code></pre>
<p>Stan is a <a href="https://mc-stan.org/docs/reference-manual/data-types-chapter.html">strongly-typed language</a>;
and the compiler will throw an error if statements or expressions violate the type rules.
The following trivial program <code>foo.stan</code> contains an illegal assignment statement:</p>
<pre class="stan"><code>data {
  real x;
}
transformed data {
  int y = x;
}</code></pre>
<p>The Make command fails w