Description
Codegenerator fails for the following model:
grouping state-top {
leaf index {
type union {
type enumeration {
enum ALL;
}
type uint32;
}
}
} grouping g {
list l {
container state {
uses state-top;
}
leaf index {
type leafref {
path "../state/index";
}
}
}
}
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 91089,11 | Resolve generated type for leafrefs targetting unions | 5.0.x | mdsal | Status: MERGED | +2 | +1 |
| 91367,1 | Resolve generated type for leafrefs targetting unions | v4.0.x | mdsal | Status: MERGED | +2 | +1 |
| 91369,5 | Resolve generated type for leafrefs targetting unions | master | mdsal | Status: MERGED | +2 | +1 |