Skip to content

Commit b0097a6

Browse files
committed
- calling Env.mergeEnvConnectionSet in Inst.mo is not really needed.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14058 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent d7da10e commit b0097a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Compiler/FrontEnd/Inst.mo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6932,7 +6932,8 @@ algorithm
69326932
Mod.checkIdxModsForNoOverlap(mod_1, PrefixUtil.prefixAdd(name, {}, pre, vt, ci_state), info);
69336933

69346934
// merge cardinality sets from env2 to cenv!
6935-
cenv = Env.mergeEnvConnectionSet(env2, cenv);
6935+
// geez, this is not actually needed!
6936+
// cenv = Env.mergeEnvConnectionSet(env2, cenv);
69366937

69376938
(cache, comp_env, ih, store, dae, csets, ty, graph_new) = instVar(cache,
69386939
cenv, ih, store, ci_state, mod_1, pre, name, cls, attr,

0 commit comments

Comments
 (0)