Ticket #200 (closed defect: fixed)
Visibilty of inherited public fields
| Reported by: | mosconi | Owned by: | stephan |
|---|---|---|---|
| Priority: | minor | Milestone: | OTDT_1.2.8 |
| Component: | compiler | Version: | 1.2.5 |
| Keywords: | Cc: |
Description
If a role class R1 extends a regular class C1, public fields inherited from C1 are not visible on the interface of role R1.
public class C1 { public String test; }
public team class T1 { public class R1 extends C1 {} void test(C1 c, R1 r) { String cs = c.test; String rs = r.test; // gives an error } }
Change History
Note: See
TracTickets for help on using
tickets.
all news
RSS feed