Opened 11 years ago

Closed 10 years ago

#2741 closed defect (fixed)

Wrong warning for connector

Reported by: Martin Sjölund Owned by: Per Östlund
Priority: high Milestone: 1.9.1
Component: Frontend Version: trunk
Keywords: Cc:

Description

The following gives a warning "Connector .C is not balanced: The number of potential variables (0) is not equal to the number of flow variables (1).". Changing R r; to Real r; removes the warning.

type MyReal
  extends Real;
end MyReal;

type R = MyReal;

connector C
  R r;
  flow Real f;
end C;

model M
  C c;
end M;

Change History (1)

comment:1 by Per Östlund, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in r21383.

Note: See TracTickets for help on using tickets.