Next: instance
in in a cyclic binding, Previous: Cannot bind port to port, Up: Well-formedness – System [Contents][Index]
interface ihello { in void hello (); behavior {on hello:{}} } component hello { provides ihello p; requires injected ihello r; behavior {} } component logger { provides ihello p; behavior {} } component binding_two_wildcards { provides ihello p; system { hello h; logger log; p <=> h.p; log.* <=> *; } }
This results in the following error messages:
binding-two-wildcards.dzn:29:5: error: cannot bind two wildcards binding-two-wildcards.dzn:26:5: error: port `p' of type `ihello' not bound