";" expected after variable declaration

I encountered the same problem yesterday. For your int<lower=1, upper=K> y[N]; in the data block, the latest syntax should be array[N] int<lower=1, upper=K> y.

1 Like