injected port has out-eventsWhen a Component has a requires injected port, its interface must
not have out-events.
interface ihello
{
in bool hello ();
out void world ();
behavior
{
on hello: world;
}
}
component injected_with_out_event
{
provides ihello p;
requires injected ihello r;
behavior
{
}
}
This results in the following error message:
injected-with-out-event.dzn:14:3: error: injected port `r' has out
events: world
injected-with-out-event.dzn:4:3: info: port defined here