#5205 closed defect (fixed)
Support cycles in anyString
| Reported by: | Adrian Pop | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | high | Milestone: | 1.13.0 |
| Component: | MetaModelica | Version: | |
| Keywords: | Cc: | Rüdiger Franke |
Description
Currently we get a crash if we try to print cyclic structures (containing Pointer<Type>) with anyString.
We should stop when we get a pointer that is saved on the stack.
Change History (4)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 7 years ago
| Cc: | added |
|---|
comment:4 by , 7 years ago
This version just prints Pointer() when reaching a pointer that forms a cycle.
Note:
See TracTickets
for help on using tickets.

Should be fixed with PR: https://github.com/OpenModelica/OMCompiler/pull/2766