[YANGTOOLS-424] Anonymous inner types result in uncompilable code for key Created: 17/Mar/15  Updated: 10/Apr/22  Resolved: 04/Sep/15

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Tony Tkacik Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by YANGTOOLS-465 Enum can not be used as list key. Resolved
External issue ID: 2859

 Description   

If in YANG model following is present:

grouping foo {
leaf bar {
type enumeration

{ ... }

}
}

list bar {
key bar;
uses foo;
}

Results in key generated with value for bar of type java.lang.Enum
and list builder and DTO contains correct type.
This results in code which is not compilable.



 Comments   
Comment by Tony Tkacik [ 17/Mar/15 ]

https://git.opendaylight.org/gerrit/#/c/16639/

Generated at Wed Feb 07 20:53:12 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.