Ticket #287 (closed enhancement: fixed)
result mappings in before/after bindings should be illegal
| Reported by: | stephan | Owned by: | stephan |
|---|---|---|---|
| Priority: | major | Milestone: | OTDT_1.3.1 |
| Component: | language | Version: | 1.3.0 |
| Keywords: | Cc: |
Description
The original example in #286 contains non-sensical code: an after callin binding defines a parameter mapping including a mapping for result.
However, before/after callin bindings do not pass any value to the base side.
In the current implementation such useless result mappings are simply ignored, but the language definition should preferable prohibit this situation. This is especially relevant for after bindings, since they can indeed expose the base result to the role method. Programmers should be alerted that the opposite direction is not possible.
Change History
Note: See
TracTickets for help on using
tickets.
all news
RSS feed