Skip to content

Commit

Permalink
Fixes for bug: #1324
Browse files Browse the repository at this point in the history
- fixes for updateConnection: https://openmodelica.org:8443/cb/issue/1324
- update the interactive symbol table with correct program in Interactive.mo
- add testsuite/mosfiles-nosim/interactive_api_attributes.mos to test for this
  bug.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6432 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Oct 19, 2010
1 parent d5dbc8d commit 6058dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Interactive.mo
Expand Up @@ -2192,7 +2192,7 @@ algorithm
Absyn.CREF(componentRef = cr)} = getApiFunctionArgs(istmts);
nargs = getApiFunctionNamedArgs(istmts);
(s1,newp) = deleteConnection(cr, c1, c2, p);
(resstr,newp_1) = addConnection(cr, c1, c2, nargs, newp);
(resstr,newp) = addConnection(cr, c1, c2, nargs, newp);
st = setSymbolTableAST(st, newp);
then
(resstr, st);
Expand Down

0 comments on commit 6058dea

Please sign in to comment.