﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1147	Allow to modify protected parameter in extended class (from Mathcore)	Jan Brugård	Jan Brugård	"See the models:

{{{
model test
  Real x;
protected 
  parameter Real A=10;
equation 
  x=A;
end test;
}}}

{{{
model testB
  extends test(A=30);
end testB;
}}}

When checking class B it gives the error message:
{{{

--- [10] 11:28:04 Validation of class testB ---
Check of testB completed successfully.
Error: Trying to modify protected element A
Class testB has 1 equation(s) and 1 variable(s).
1 of these are trivial equation(s).
}}}

But modifying protected variables should be allowed when extending the base class.

Note: The specification has a flaw, see comments."	discussion	closed	critical	Red October			fixed		Jan Brugård
