we’re teaching Stan in Tuebingen right now, and one of our students defined a variable in generated quantities, something like:
but when using that variable called in x1 by mistake.
On running the model, (using stan()) the model immediately failed to compile, saying there was a c++ compiler error, for an “unknown reason”. Is it possible to have stan complain more specifically about the variable x1 not having been defined? I can release a minimum working example if this is not clear.