Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-424

Anonymous inner types result in uncompilable code for key

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 2859

    Description

      If in YANG model following is present:

      grouping foo {
      leaf bar {
      type enumeration

      { ... }

      }
      }

      list bar {
      key bar;
      uses foo;
      }

      Results in key generated with value for bar of type java.lang.Enum
      and list builder and DTO contains correct type.
      This results in code which is not compilable.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              tony.tkacik@gmail.com Tony Tkacik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: