-
Bug
-
Resolution: Won't Do
-
Medium
-
None
-
None
-
None
Now the parameters sequence of generated constructor for bits type leaf is the alphabetic sequence of names of its bit fields defined in its yang file. Such alphabetic sequence comes from the sort operation on all properties in ClassTemplate.xtend in v1 binding generator.
This is not natual and if application developper doesn't carefully take a look at the generated constructor, they will construct such leaf node in the sequence of bit fields defined in the yang file. And such misuse won't be reported by the Java compiler.
Can we eliminate the sort operation on all properties in ClassTemplate.xtend and let the parameters of all generated constructors appear in their natural order?