Community
Participate
Working Groups
1) A enum in a team cannot be passed to the outside, client is flagged with Missing anchor (team instance) for role type bug348570.TeamClass.Aufzaehlung outside its team context (OTJLD 1.2.2(b)). Also declaring the type using extenalized role syntax doesn't help. 2) The following field inside an enum-as-team-member: public R r = new R(); raises: Missing code implementation in the compiler
(In reply to comment #0) > 1) A enum in a team cannot be passed to the outside, client is flagged with > Missing anchor (team instance) for role type bug348570.TeamClass.Aufzaehlung > outside its team context (OTJLD 1.2.2(b)). > Also declaring the type using extenalized role syntax doesn't help. This part is invalid: I was using 2.0.1RC1, in 2.1M1 it is fixed. > 2) The following field inside an enum-as-team-member: > public R r = new R(); > raises: > Missing code implementation in the compiler This part is still relevant in 2.1M1
Test & fix released via commit 1bad420ed4c295b8846e90c1f98215ddcae874aa Note, that enums are static and thus an enum cannot directly refer to a role type.
Verified using build 2.2.0.201209221349