﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4058	Inconsistent handling of structural parameters	Patrick Täuber	somebody	"In the following model b1 is detected as a structural parameter and b2 not:

{{{#!mo
model parameterBug2
  parameter Boolean b1 = true;
  parameter Boolean b2 = true;
  parameter Integer p1 = if b1 then p2 else 0;
  parameter Integer p2 = if b2 then 0 else p1;
equation
end parameterBug2;
}}}

-d=printStructuralParameters:
{{{
""Notification: The following structural parameters were evaluated in the front-end: b1
}}}

Switching the order in the following way leads to b2 detected as structural and not b1:

{{{#!mo
model parameterBug2
  parameter Boolean b2 = true;
  parameter Boolean b1 = true;
  parameter Integer p1 = if b1 then p2 else 0;
  parameter Integer p2 = if b2 then 0 else p1;
equation
end parameterBug2;
}}}

-d=printStructuralParameters:
{{{
""Notification: The following structural parameters were evaluated in the front-end: b2
}}}"	defect	new	high	Future	Frontend			structural parameter	
