Opened 11 years ago
Closed 11 years ago
#2714 closed defect (fixed)
Concat in function in non algorithm section
Reported by: | Andreas Hofmann | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
Hi everyone,
not sure if this is a bug or bad coding.
However, if i have a function with a protected section and concat some arrays to a variable within its declaration omc crashes during simulation.
The problem can be fixed by putting the assignment of the variable within the algorithm section.
Find attached a small example of the problem.
Attachments (2)
Change History (5)
by , 11 years ago
by , 11 years ago
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Component: | Run-time → Frontend |
---|---|
Resolution: | → fixed |
Status: | accepted → closed |
Fixed the sorting of variables in functions better than before. Regression test added in r20935.
Note:
See TracTickets
for help on using tickets.
Related to #2346 (that fix breaks some dependencies in functions)