[MDSAL-360] Union type fails to check its constituent types Created: 03/Jul/18 Updated: 11/Jul/18 Resolved: 11/Jul/18 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding codegen |
| Affects Version/s: | None |
| Fix Version/s: | Fluorine |
| Type: | Bug | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
A simple code snippet:
typedef foo-union {
type union {
type string {
length 0;
}
}
}
ends up generating: public FooUnion(String _string) { super(); this._string = _string; } which is obviously missing length restrictions. |