Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-458

Binding V1 fails to generate code with union leaf named same as parent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.9, 4.0.3
    • 3.0.8, 4.0.2
    • Binding codegen
    • None

      Some combinations of nested leafs and unions causes generation of invalid binding code.
      See attached example module test-model@2019-06-24.yang and maven-build.log

      Reproduced with neon and sodium releases.  

       

       

        1. maven-build.log
          8 kB
        2. pom.xml
          0.6 kB
        3. test-model@2019-06-24.yang
          0.7 kB

            rovarga Robert Varga
            juraj.veverka Juraj Veverka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: