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

ModuleEffectiveStatement fails to index statements from submodules

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 4.0.3, 3.0.7
    • parser
    • None

    Description

      Our implementation for ModuleEffectiveStatement indexes effective statements in the StmtContext before considering submodules, simply because the context is passed to AbstractSchemaEffectiveDocumentedNode without these statements.

      This is then worked around by AbstractEffectiveModule constructor, which manually attaches these modules before indexing them (for SchemaNode-only indexes).

      Code structure here seems to be very difficult and hacky, which points towards the fact the code needs to be restructured.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: