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

Anonymous inner types result in uncompilable code for key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 2859

      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.

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

              Created:
              Updated:
              Resolved: