Ticket #195 (closed enhancement: fixed)
Callout bindings should be more flexible wrt visibility
| Reported by: | stephan | Owned by: | stephan |
|---|---|---|---|
| Priority: | minor | Milestone: | OTDT_1.2.6 |
| Component: | language | Version: | 1.2.5 |
| Keywords: | Cc: |
Description
OTJLD §3.1(i) states that shorthand callout bindings define role methods with default visibility. Now that we enforce that default visible role methods cannot be accessed from outside the role (cf. #194), such shorthand bindings are much less useful.
First, if the corresponding base feature is already public or protected, the callout should inherit this visibility (should generally inherit this visibility by default).
Second, a shorthand callout binding should be allowed to optionally specify a visibility modifier.
Need to check some consistency constraints, like not reducing the visibility of something inherited.
all news
RSS feed