﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4089	HideResult defaults to protected	Rüdiger Franke	Patrick Täuber	"The treatment of parameters has significantly improved with [https://github.com/OpenModelica/OMCompiler/commit/d75f648c03d06c472542ab0494959fca17ccd1ad d75f648c] (see also #4027).

The treatment of the HideResult annotation is still unsatisfactory. According to Modelica Spec 3.3, section 18.3 this annotation overrides the protected status for the translated model. In particular a protected variable can be made available with `HideResult=false`.

See the following example:
{{{#!mo
model HideResult
  parameter Real a = 1;
  parameter Real b = 2 annotation(HideResult = true);
  parameter Real e = d;
protected
  parameter Real c = 3;
  parameter Real d = 4 annotation(HideResult = false);
end HideResult;
}}}

It should be possible to change the value of `d` after model translation. Re-simulate should calculate `e`."	defect	closed	high	1.11.0	Backend		fixed		Patrick Täuber
