Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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:2 by Adrian Pop, 6 years ago

Resolution: fixed
Status: newclosed

comment:3 by Adrian Pop, 6 years ago

Cc: Rüdiger Franke added

comment:4 by Adrian Pop, 6 years ago

This version just prints Pointer() when reaching a pointer that forms a cycle.

Note: See TracTickets for help on using tickets.