Skip to content

Commit

Permalink
A fix for the cache bug which was causing derived function lookup to …
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Lebedev committed May 10, 2010
1 parent 369459d commit 1ae7676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Inst.mo
Expand Up @@ -9579,7 +9579,7 @@ algorithm
equation
(cache,(c as SCode.CLASS(name = cn2, restriction = r)),cenv) = Lookup.lookupClass(cache,env, cn, true);
(cache,mod2,_) = Mod.elabMod(cache,env, Prefix.NOPRE(), mod1, false);
(cache,_,ih,_,dae,_,ty,_,_,_) = instClass(cache,env,ih,UnitAbsynBuilder.emptyInstStore(), mod2, Prefix.NOPRE(), Connect.emptySet, c, {}, true, INNER_CALL(), ConnectionGraph.EMPTY);
(cache,_,ih,_,dae,_,ty,_,_,_) = instClass(cache,cenv,ih,UnitAbsynBuilder.emptyInstStore(), mod2, Prefix.NOPRE(), Connect.emptySet, c, {}, true, INNER_CALL(), ConnectionGraph.EMPTY);
env_1 = Env.extendFrameC(env,c);
(cache,fpath) = makeFullyQualified(cache,env_1, Absyn.IDENT(id));
ty1 = setFullyQualifiedTypename(ty,fpath);
Expand Down

0 comments on commit 1ae7676

Please sign in to comment.