Details
-
Bug
-
Status: Confirmed
-
Resolution: Unresolved
-
None
-
Operating System: All
Platform: All
-
3399
Description
Restrictions returned for a particular ConcreteType should match the underlying type. The parser generates restrictions in whatever the default is, for example 0 for Short is expressed as a Long. This is largely fine in binding-independent world, but makes it unusable if we want to actually use restrictions with objects of that type.
BaseYangTypes is a prime offender, as its singleRangeRestrictions() callers do the wrong thing. Furthermore BindingGeneratorUtil needs to translate whatever it sees to the appropriate type.
Attachments
Issue Links
- blocks
-
MDSAL-736 Improve Decimal64 validity checks
-
- In Review
-
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 101616,4 | Turn Restrictions into a final class | master | mdsal | Status: MERGED | +2 | +1 |