Next: Cannot use blocking in an interface, Previous: Nested on used, Up: Well-formedness – Nesting [Contents][Index]
blocking usedinterface ihello
{
in void hello ();
behavior
{
on hello:;
}
}
component nested_blocking
{
provides blocking ihello p;
behavior
{
blocking on p.hello (): [true] blocking p.reply ();
}
}
This results in the following error message:
nested-blocking.dzn:15:36: error: nested blocking used nested-blocking.dzn:15:5: info: within blocking here