﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1285	Incorrect warning regarding missing 'inner' declaration.	dhedberg	dhedberg	"Consider the following definitions:
{{{
package A

  model C1
    extends CBase;
    model S1
      extends SBase;
    end S1;

    S1 s1;
  end C1;

  partial model CBase
    inner Real V=1;
  end CBase;

  partial model SBase
    outer Real V;
  end SBase;

end A;
}}}
Checking the package the results in the following warning:
Warning: No corresponding 'inner' declaration found for component V declared as 'outer '. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration.

This warning should not be there, the matching inner declaration of V in SBase, is found in CBase which is inherited by C1.

This bug is a major bug as all SBML models when being translated to Modelica in MathModelica get this structure and hence this warning.

MathCore note: This ticket corresponds to ticket 2958 in MathModelica trac."	task	closed	high	Red October	Frontend		fixed		dhedberg Adrian Pop
