Opened 10 years ago

Last modified 7 years ago

#3121 assigned defect

Stack overflow in operator — at Initial Version

Reported by: anonymous Owned by: somebody
Priority: low Milestone: 2.1.0
Component: New Instantiation Version: trunk
Keywords: Cc:

Description

This model contains errors (in operator "+" inputs should be a BugRecord type).
Trace is attached.

model Bug
  operator record BugRecord
    Integer x;

    operator function '+'
      input Bug b1;
      input Bug b2;
      output BugRecord rec(x = b1.x + b2.x);
    end '+';

  end BugRecord;
  BugRecord bugRecord = BugRecord(1) + BugRecord(0);
end Bug;

Change History (1)

by anonymous, 10 years ago

Attachment: bug.log added
Note: See TracTickets for help on using tickets.