﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5174	[Replaceable components] Wrong flattening of models with replaceble components	igor.timofeyev@…	Lennart Ochel	"The following code doesn't work in OpenModelica, which sufficiently reduces the usage of replaceble components. Both examples give model A3 with two identical (duplicate) declarations of ""Real A""

Exmple1:

{{{
  model A1
    replaceable Real A;
  end A1;

  model A2
    replaceable Real A;
  end A2;

  model A3
    extends A1;
    extends A2;
  end A3;
}}}

Example2:
{{{
 model A1
    Real A;
  end A1;

  model A2
    Real A;
  end A2;

  model A3
    extends A1(redeclare Real A);
    extends A2;
  end A3;
}}}"	defect	closed	high	2.0.0	New Instantiation		fixed	Replaceable extends duplicate declarations	
