Next: Cannot bind port to port, Previous: port not bound – of instance, Up: Well-formedness – System [Contents][Index]
port is bound more than onceMore than one binding is specified for a port of a system or one of its component instances:
interface ihello
{
in void hello ();
behavior {on hello:{}}
}
component hello
{
provides ihello p;
behavior {}
}
component instance_port_not_bound
{
provides ihello p;
system
{
hello h;
hello i;
p <=> h.p;
p <=> i.p;
}
}
This results in the following error messages:
port-bound-twice.dzn:20:5: error: port `p' is bound more than once port-bound-twice.dzn:21:5: error: port `p' is bound more than once