﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1299	instantiateDaeFunction() and infinite loops	Martin Sjölund	Martin Sjölund	"There is a problem with the way instantiateDaeFunction breaks loops - lookupClass needs to succeed in order for it to work!
We need to store the tuple (SOME(getEnvPath()),name) (NONE(),fqname) instead of only fqname (or create getEnvPath()+""$+$""+name, or similar name mangling if we want to keep the old hashtable). This so we can at least break the loop if we are in the same scope as the last time.

For examples, try checkModel(Modelica.Media) or (at least not working right now) {{{
loadFile(""../../Compiler/Absyn.mo"");
loadFile(""../../Compiler/Dump.mo"");
loadFile(""../../Compiler/DumpGraphviz.mo"");
loadFile(""../../Compiler/Graphviz.mo"");
loadFile(""../../Compiler/Print.mo"");
loadFile(""../../Compiler/System.mo"");
loadFile(""../../Compiler/Util.mo"");

prog:=Absyn.PROGRAM({},Absyn.TOP(),Absyn.TIMESTAMP(0.0,0.0));
DumpGraphviz.dump(prog);
}}}"	defect	closed	blocker				fixed		Martin Sjölund Martin Sjölund
