Ticket #164 (closed defect: fixed)
recursive use of role files not working
| Reported by: | mosconi | Owned by: | stephan |
|---|---|---|---|
| Priority: | major | Milestone: | OTDT_1.2.5 |
| Component: | compiler | Version: | 1.2.4 |
| Keywords: | Cc: |
Description
Consider the following structure:
package test;
public team class OuterTeam {}
team package test.OuterTeam;
public team class InnerTeam {}
team package test.OuterTeam.InnerTeam;
protected class InnerInnerRole {}
The compiler states the following on the last team package declaration:
- Enclosing team test.OuterTeam.InnerTeam not found for role file InnerInnerRole (OTJLD 1.2.5(c)).
- The package test.OuterTeam.InnerTeam collides with a type
Either this should work or there should be a rule in the OTJLD forbidding recursive role files ;-)
Change History
Note: See
TracTickets for help on using
tickets.
all news
RSS feed