﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1904	Move handling of package constants entirely to SCodeInst	Per Östlund	Per Östlund	"Right now we use SCodeDependency to find all package constants. This doesn't quite work as intended, and introduces unnecessary dependencies between the modules. We should instead move that part to SCodeInst. We need to either go through all the classes and instantiate any package constants we find, or collect them as we go along (perhaps use the symbol table?). We also need to instantiate package constants inside components, e.g.:
{{{
model A
  package P
    constant Integer i = 0;
  end P;

  Integer x = P.i;
end A;

model B
  A a(P(i = 3));
end B;
}}}
In this case we need to instantiate a.P.i."	defect	closed	high	1.9.4	New Instantiation	trunk	fixed		
