Next: , Previous: , Up: Well-formedness – System   [Contents][Index]


11.12.2 port not bound – of instance

No binding is specified for a port of a component instance.

interface ihello
{
  in void hello ();
  behavior {on hello:{}}
}

component hello
{
  provides ihello p;
  behavior {}
}

component instance_port_not_bound
{
  system
  {
    hello h;
  }
}

This results in the following error message:

instance-port-not-bound.dzn:17:5: error: port `p' of type `ihello'
    not bound