@@ -1198,7 +1198,6 @@ algorithm
11981198 Env . Cache cache;
11991199 Option < DAE . Const > cnstForRange;
12001200 Absyn . Path path,scope;
1201- Option < DAE . ComponentRef > filterCref;
12021201 Boolean unique;
12031202 DAE . ExpType ety;
12041203 Env . AvlTree ht;
@@ -1243,13 +1242,12 @@ algorithm
12431242 Util . setStatefulBoolean(inState,true );
12441243 env3 = Env . openScope(env2, encflag, SOME (n), Env . restrictionToScopeType(r));
12451244 ci_state = ClassInf . start(r, Env . getEnvName(env3));
1246- filterCref = makeOptIdentOrNone(cref);
12471245 // Debug.fprintln("instTrace", "LOOKUP VAR IN PACKAGES ICD: " +& Env.printEnvPathStr(env3) +& " var: " +& ComponentReference.printComponentRefStr(cref));
12481246 (cache,env5,_,_,_,_,_,_,_,_,_,_) =
12491247 Inst . instClassIn(
12501248 cache,env3,InnerOuter . emptyInstHierarchy,UnitAbsyn . noStore,
12511249 DAE . NOMOD (), Prefix . NOPRE (), Connect . emptySet,
1252- ci_state, c, SCode . PUBLIC (), {}, /* true*/ false , Inst . INNER_CALL (), ConnectionGraph . EMPTY , filterCref );
1250+ ci_state, c, SCode . PUBLIC (), {}, /* true*/ false , Inst . INNER_CALL (), ConnectionGraph . EMPTY , NONE () );
12531251 (cache,p_env,attr,ty,bind,cnstForRange,splicedExpData,componentEnv,name) = lookupVarInPackages(cache,env5,cref,prevFrames,inState);
12541252 then
12551253 (cache,p_env,attr,ty,bind,cnstForRange,splicedExpData,componentEnv,name);
0 commit comments