﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2964	Report error when modifying final parameter	Henrik Tidefelt	Per Östlund	"Model `B` below modifies a final parameter in `A`, but validates fine:
{{{
package FinalParam
  model A
    final parameter Integer n = 2;
    Real x[2](each start = 1.0);
  equation
    der(x[2]) = 0;
    der(x[1]) = -x[n];
  end A;

  model B
    A a(n = 3);
  end B;
end FinalParam;
}}}

The illegal modification should be detected and reported as an error.  Right now, this slips all the way through code generation and results an error during compilation of the C code.
"	defect	closed	critical	1.19.0	New Instantiation	trunk	fixed		
