﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1197	Lookup issues of inherited constants in packages	Martin Sjölund	Martin Sjölund	"lookupVarInPackages sends SOME(t3) to instClass. This filters out t1, but not t2 (because it filters before extends is run).

One solutions is to make partialInstClass instead (only constants may be looked up anyway). If this is done, a separate case needs to be added for enumerations.
Another would be to send NONE() as instSingleCref.
A third would be to fix instSingleCref for extends (do filtering after extends).

Needs to be the fastest solution.

{{{model P
  package A
    extends B(t2=t1);
    constant Real t1=1;
  end A;
  package B
    constant Real t2=2;
    constant Real t3 = 3;
  end B;
  parameter Real x = A.t3;
end P;}}}"	defect	closed	normal		Instantiation	1.5.0RC2	worksforme		Martin Sjölund Per Östlund
